Class SceneBuilder.WorldInstructions

java.lang.Object
net.createmod.ponder.foundation.SceneBuilder.WorldInstructions
Enclosing class:
SceneBuilder

public class SceneBuilder.WorldInstructions extends Object
  • Constructor Details

    • WorldInstructions

      public WorldInstructions()
  • Method Details

    • incrementBlockBreakingProgress

      public void incrementBlockBreakingProgress(net.minecraft.core.BlockPos pos)
    • showSection

      public void showSection(Selection selection, net.minecraft.core.Direction fadeInDirection)
    • 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

      public ElementLink<WorldSectionElement> showIndependentSectionImmediately(Selection selection)
    • hideSection

      public void hideSection(Selection selection, net.minecraft.core.Direction fadeOutDirection)
    • hideIndependentSection

      public void hideIndependentSection(ElementLink<WorldSectionElement> link, net.minecraft.core.Direction fadeOutDirection)
    • restoreBlocks

      public void restoreBlocks(Selection selection)
    • makeSectionIndependent

      public ElementLink<WorldSectionElement> makeSectionIndependent(Selection selection)
    • 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)
    • 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

      public void toggleRedstonePower(Selection selection)
    • modifyEntities

      public <T extends net.minecraft.world.entity.Entity> void modifyEntities(Class<T> entityClass, Consumer<T> entityCallBack)
    • modifyEntitiesInside

      public <T extends net.minecraft.world.entity.Entity> void modifyEntitiesInside(Class<T> entityClass, Selection area, Consumer<T> entityCallBack)
    • 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)
    • modifyTileNBT

      public void modifyTileNBT(Selection selection, Class<? extends net.minecraft.world.level.block.entity.BlockEntity> teType, Consumer<net.minecraft.nbt.CompoundTag> consumer)
    • modifyTileEntity

      public <T extends net.minecraft.world.level.block.entity.BlockEntity> void modifyTileEntity(net.minecraft.core.BlockPos position, Class<T> teType, Consumer<T> consumer)
    • modifyTileNBT

      public void modifyTileNBT(Selection selection, Class<? extends net.minecraft.world.level.block.entity.BlockEntity> teType, Consumer<net.minecraft.nbt.CompoundTag> consumer, boolean reDrawBlocks)