Class AdvancementBehaviour
java.lang.Object
com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
com.petrolpark.compat.create.core.block.entity.behaviour.AbstractRememberPlacerBehaviour
com.petrolpark.compat.create.core.block.entity.behaviour.AdvancementBehaviour
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<AdvancementBehaviour> Fields inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
blockEntity -
Constructor Summary
ConstructorsConstructorDescriptionAdvancementBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be) -
Method Summary
Modifier and TypeMethodDescriptionvoidcom.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<AdvancementBehaviour> getType()booleanshouldRememberPlacer(net.minecraft.world.entity.player.Player player) Methods inherited from class com.petrolpark.compat.create.core.block.entity.behaviour.AbstractRememberPlacerBehaviour
getPlayer, onPlaceBlock, read, setPlacedBy, setPlacedBy, setPlayer, writeMethods inherited from class com.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
destroy, get, get, getPos, getRequiredItems, getWorld, initialize, isSafeNBT, lazyTick, onBlockChanged, onNeighborChanged, setLazyTickRate, tick, unload, writeSafe
-
Field Details
-
TYPE
public static final com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<AdvancementBehaviour> TYPE
-
-
Constructor Details
-
AdvancementBehaviour
public AdvancementBehaviour(com.simibubi.create.foundation.blockEntity.SmartBlockEntity be)
-
-
Method Details
-
shouldRememberPlacer
public boolean shouldRememberPlacer(net.minecraft.world.entity.player.Player player) - Specified by:
shouldRememberPlacerin classAbstractRememberPlacerBehaviour
-
award
-
getType
public com.simibubi.create.foundation.blockEntity.behaviour.BehaviourType<AdvancementBehaviour> getType()- Specified by:
getTypein classcom.simibubi.create.foundation.blockEntity.behaviour.BlockEntityBehaviour
-