Class GatePlacementHandler

java.lang.Object
com.minecolonies.core.placementhandlers.GeneralBlockPlacementHandler
com.minecolonies.core.placementhandlers.GatePlacementHandler
All Implemented Interfaces:
com.ldtteam.structurize.placement.handlers.placement.IPlacementHandler

public class GatePlacementHandler extends GeneralBlockPlacementHandler
Placement handler for special gate blocks
  • Nested Class Summary

    Nested classes/interfaces inherited from interface com.ldtteam.structurize.placement.handlers.placement.IPlacementHandler

    com.ldtteam.structurize.placement.handlers.placement.IPlacementHandler.ActionProcessingResult
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    canHandle(@NotNull net.minecraft.world.level.Level world, @NotNull net.minecraft.core.BlockPos pos, @NotNull net.minecraft.world.level.block.state.BlockState blockState)
     

    Methods inherited from class com.minecolonies.core.placementhandlers.GeneralBlockPlacementHandler

    doesWorldStateMatchBlueprintState, getRequiredItems, handle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.ldtteam.structurize.placement.handlers.placement.IPlacementHandler

    handleRemoval, handleRemoval
  • Constructor Details

    • GatePlacementHandler

      public GatePlacementHandler()
  • Method Details

    • canHandle

      public boolean canHandle(@NotNull @NotNull net.minecraft.world.level.Level world, @NotNull @NotNull net.minecraft.core.BlockPos pos, @NotNull @NotNull net.minecraft.world.level.block.state.BlockState blockState)
      Specified by:
      canHandle in interface com.ldtteam.structurize.placement.handlers.placement.IPlacementHandler
      Overrides:
      canHandle in class GeneralBlockPlacementHandler