Class SceneBuilder.WorldInstructions
java.lang.Object
com.simibubi.create.foundation.ponder.SceneBuilder.WorldInstructions
- Enclosing class:
- SceneBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidchangeBeltItemTo(ElementLink<BeltItemElement> link, net.minecraft.world.item.ItemStack newStack)voidconfigureCenterOfRotation(ElementLink<WorldSectionElement> link, net.minecraft.world.phys.Vec3 anchor)voidconfigureStabilization(ElementLink<WorldSectionElement> link, net.minecraft.world.phys.Vec3 anchor)voidconnectCrafterInvs(net.minecraft.core.BlockPos position1, net.minecraft.core.BlockPos position2)createEntity(Function<net.minecraft.world.level.Level,net.minecraft.world.entity.Entity> factory)createGlueEntity(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face)createItemEntity(net.minecraft.world.phys.Vec3 location, net.minecraft.world.phys.Vec3 motion, net.minecraft.world.item.ItemStack stack)createItemOnBelt(net.minecraft.core.BlockPos beltLocation, net.minecraft.core.Direction insertionSide, net.minecraft.world.item.ItemStack stack)voidcreateItemOnBeltLike(net.minecraft.core.BlockPos location, net.minecraft.core.Direction insertionSide, net.minecraft.world.item.ItemStack stack)voidcycleBlockProperty(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.properties.Property<?> property)voiddestroyBlock(net.minecraft.core.BlockPos pos)voidflapFunnel(net.minecraft.core.BlockPos position, boolean outward)voidglueBlockOnto(net.minecraft.core.BlockPos position, net.minecraft.core.Direction fadeInDirection, ElementLink<WorldSectionElement> link)voidhideIndependentSection(ElementLink<WorldSectionElement> link, net.minecraft.core.Direction fadeOutDirection)voidhideSection(Selection selection, net.minecraft.core.Direction fadeOutDirection)voidincrementBlockBreakingProgress(net.minecraft.core.BlockPos pos)voidinstructArm(net.minecraft.core.BlockPos armLocation, ArmTileEntity.Phase phase, net.minecraft.world.item.ItemStack heldItem, int targetedPoint)makeSectionIndependent(Selection selection)voidmodifyBlock(net.minecraft.core.BlockPos pos, UnaryOperator<net.minecraft.world.level.block.state.BlockState> stateFunc, boolean spawnParticles)voidmodifyBlocks(Selection selection, UnaryOperator<net.minecraft.world.level.block.state.BlockState> stateFunc, boolean spawnParticles)<T extends net.minecraft.world.entity.Entity>
voidmodifyEntities(Class<T> entityClass, Consumer<T> entityCallBack)<T extends net.minecraft.world.entity.Entity>
voidmodifyEntitiesInside(Class<T> entityClass, Selection area, Consumer<T> entityCallBack)voidmodifyEntity(ElementLink<EntityElement> link, Consumer<net.minecraft.world.entity.Entity> entityCallBack)voidmodifyKineticSpeed(Selection selection, UnaryOperator<Float> speedFunc)<T extends net.minecraft.world.level.block.entity.BlockEntity>
voidmodifyTileEntity(net.minecraft.core.BlockPos position, Class<T> teType, Consumer<T> consumer)voidmodifyTileNBT(Selection selection, Class<? extends net.minecraft.world.level.block.entity.BlockEntity> teType, Consumer<net.minecraft.nbt.CompoundTag> consumer)voidmodifyTileNBT(Selection selection, Class<? extends net.minecraft.world.level.block.entity.BlockEntity> teType, Consumer<net.minecraft.nbt.CompoundTag> consumer, boolean reDrawBlocks)voidmoveDeployer(net.minecraft.core.BlockPos pos, float distance, int duration)voidmovePulley(net.minecraft.core.BlockPos pos, float distance, int duration)voidmoveSection(ElementLink<WorldSectionElement> link, net.minecraft.world.phys.Vec3 offset, int duration)voidmultiplyKineticSpeed(Selection selection, float modifier)voidpropagatePipeChange(net.minecraft.core.BlockPos pos)voidremoveItemsFromBelt(net.minecraft.core.BlockPos beltLocation)voidreplaceBlocks(Selection selection, net.minecraft.world.level.block.state.BlockState state, boolean spawnParticles)voidrestoreBlocks(Selection selection)voidrotateBearing(net.minecraft.core.BlockPos pos, float angle, int duration)voidrotateSection(ElementLink<WorldSectionElement> link, double xRotation, double yRotation, double zRotation, int duration)voidsetBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, boolean spawnParticles)voidsetBlocks(Selection selection, net.minecraft.world.level.block.state.BlockState state, boolean spawnParticles)voidsetCraftingResult(net.minecraft.core.BlockPos crafter, net.minecraft.world.item.ItemStack output)voidsetFilterData(Selection selection, Class<? extends net.minecraft.world.level.block.entity.BlockEntity> teType, net.minecraft.world.item.ItemStack filter)voidsetKineticSpeed(Selection selection, float speed)showIndependentSection(Selection selection, net.minecraft.core.Direction fadeInDirection)showIndependentSectionImmediately(Selection selection)voidshowSection(Selection selection, net.minecraft.core.Direction fadeInDirection)voidshowSectionAndMerge(Selection selection, net.minecraft.core.Direction fadeInDirection, ElementLink<WorldSectionElement> link)voidstallBeltItem(ElementLink<BeltItemElement> link, boolean stalled)voidtoggleRedstonePower(Selection selection)
-
Constructor Details
-
WorldInstructions
public WorldInstructions()
-
-
Method Details
-
incrementBlockBreakingProgress
public void incrementBlockBreakingProgress(net.minecraft.core.BlockPos pos) -
showSection
-
showSectionAndMerge
public void showSectionAndMerge(Selection selection, net.minecraft.core.Direction fadeInDirection, ElementLink<WorldSectionElement> link) -
glueBlockOnto
public void glueBlockOnto(net.minecraft.core.BlockPos position, net.minecraft.core.Direction fadeInDirection, ElementLink<WorldSectionElement> link) -
showIndependentSection
public ElementLink<WorldSectionElement> showIndependentSection(Selection selection, net.minecraft.core.Direction fadeInDirection) -
showIndependentSectionImmediately
-
hideSection
-
hideIndependentSection
public void hideIndependentSection(ElementLink<WorldSectionElement> link, net.minecraft.core.Direction fadeOutDirection) -
restoreBlocks
-
makeSectionIndependent
-
rotateSection
public void rotateSection(ElementLink<WorldSectionElement> link, double xRotation, double yRotation, double zRotation, int duration) -
configureCenterOfRotation
public void configureCenterOfRotation(ElementLink<WorldSectionElement> link, net.minecraft.world.phys.Vec3 anchor) -
configureStabilization
public void configureStabilization(ElementLink<WorldSectionElement> link, net.minecraft.world.phys.Vec3 anchor) -
moveSection
public void moveSection(ElementLink<WorldSectionElement> link, net.minecraft.world.phys.Vec3 offset, int duration) -
rotateBearing
public void rotateBearing(net.minecraft.core.BlockPos pos, float angle, int duration) -
movePulley
public void movePulley(net.minecraft.core.BlockPos pos, float distance, int duration) -
moveDeployer
public void moveDeployer(net.minecraft.core.BlockPos pos, float distance, int duration) -
setBlocks
public void setBlocks(Selection selection, net.minecraft.world.level.block.state.BlockState state, boolean spawnParticles) -
destroyBlock
public void destroyBlock(net.minecraft.core.BlockPos pos) -
setBlock
public void setBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, boolean spawnParticles) -
replaceBlocks
public void replaceBlocks(Selection selection, net.minecraft.world.level.block.state.BlockState state, boolean spawnParticles) -
modifyBlock
public void modifyBlock(net.minecraft.core.BlockPos pos, UnaryOperator<net.minecraft.world.level.block.state.BlockState> stateFunc, boolean spawnParticles) -
cycleBlockProperty
public void cycleBlockProperty(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.properties.Property<?> property) -
modifyBlocks
public void modifyBlocks(Selection selection, UnaryOperator<net.minecraft.world.level.block.state.BlockState> stateFunc, boolean spawnParticles) -
toggleRedstonePower
-
modifyEntities
-
modifyEntitiesInside
-
modifyEntity
public void modifyEntity(ElementLink<EntityElement> link, Consumer<net.minecraft.world.entity.Entity> entityCallBack) -
createEntity
public ElementLink<EntityElement> createEntity(Function<net.minecraft.world.level.Level,net.minecraft.world.entity.Entity> factory) -
createItemEntity
public ElementLink<EntityElement> createItemEntity(net.minecraft.world.phys.Vec3 location, net.minecraft.world.phys.Vec3 motion, net.minecraft.world.item.ItemStack stack) -
createGlueEntity
public ElementLink<EntityElement> createGlueEntity(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face) -
createItemOnBeltLike
public void createItemOnBeltLike(net.minecraft.core.BlockPos location, net.minecraft.core.Direction insertionSide, net.minecraft.world.item.ItemStack stack) -
createItemOnBelt
public ElementLink<BeltItemElement> createItemOnBelt(net.minecraft.core.BlockPos beltLocation, net.minecraft.core.Direction insertionSide, net.minecraft.world.item.ItemStack stack) -
removeItemsFromBelt
public void removeItemsFromBelt(net.minecraft.core.BlockPos beltLocation) -
stallBeltItem
-
changeBeltItemTo
public void changeBeltItemTo(ElementLink<BeltItemElement> link, net.minecraft.world.item.ItemStack newStack) -
setKineticSpeed
-
multiplyKineticSpeed
-
modifyKineticSpeed
-
propagatePipeChange
public void propagatePipeChange(net.minecraft.core.BlockPos pos) -
setFilterData
-
modifyTileNBT
-
modifyTileEntity
-
modifyTileNBT
-
instructArm
public void instructArm(net.minecraft.core.BlockPos armLocation, ArmTileEntity.Phase phase, net.minecraft.world.item.ItemStack heldItem, int targetedPoint) -
flapFunnel
public void flapFunnel(net.minecraft.core.BlockPos position, boolean outward) -
setCraftingResult
public void setCraftingResult(net.minecraft.core.BlockPos crafter, net.minecraft.world.item.ItemStack output) -
connectCrafterInvs
public void connectCrafterInvs(net.minecraft.core.BlockPos position1, net.minecraft.core.BlockPos position2)
-