Interface WorldInstructions

All Known Implementing Classes:
PonderSceneBuilder.PonderWorldInstructions

public interface WorldInstructions
  • Method Details

    • getHolderLookupProvider

      net.minecraft.core.HolderLookup.Provider getHolderLookupProvider()
    • incrementBlockBreakingProgress

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

      void showSection(Selection selection, net.minecraft.core.Direction fadeInDirection)
    • showSectionAndMerge

      void showSectionAndMerge(Selection selection, net.minecraft.core.Direction fadeInDirection, ElementLink<WorldSectionElement> link)
    • glueBlockOnto

      void glueBlockOnto(net.minecraft.core.BlockPos position, net.minecraft.core.Direction fadeInDirection, ElementLink<WorldSectionElement> link)
    • showIndependentSection

      ElementLink<WorldSectionElement> showIndependentSection(Selection selection, net.minecraft.core.Direction fadeInDirection)
    • showIndependentSectionImmediately

      ElementLink<WorldSectionElement> showIndependentSectionImmediately(Selection selection)
    • hideSection

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

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

      void restoreBlocks(Selection selection)
    • makeSectionIndependent

      ElementLink<WorldSectionElement> makeSectionIndependent(Selection selection)
    • rotateSection

      void rotateSection(ElementLink<WorldSectionElement> link, double xRotation, double yRotation, double zRotation, int duration)
    • configureCenterOfRotation

      void configureCenterOfRotation(ElementLink<WorldSectionElement> link, net.minecraft.world.phys.Vec3 anchor)
    • configureStabilization

      void configureStabilization(ElementLink<WorldSectionElement> link, net.minecraft.world.phys.Vec3 anchor)
    • moveSection

      void moveSection(ElementLink<WorldSectionElement> link, net.minecraft.world.phys.Vec3 offset, int duration)
    • setBlocks

      void setBlocks(Selection selection, net.minecraft.world.level.block.state.BlockState state, boolean spawnParticles)
    • destroyBlock

      void destroyBlock(net.minecraft.core.BlockPos pos)
    • setBlock

      void setBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, boolean spawnParticles)
    • replaceBlocks

      void replaceBlocks(Selection selection, net.minecraft.world.level.block.state.BlockState state, boolean spawnParticles)
    • modifyBlock

      void modifyBlock(net.minecraft.core.BlockPos pos, UnaryOperator<net.minecraft.world.level.block.state.BlockState> stateFunc, boolean spawnParticles)
    • cycleBlockProperty

      void cycleBlockProperty(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.properties.Property<?> property)
    • modifyBlocks

      void modifyBlocks(Selection selection, UnaryOperator<net.minecraft.world.level.block.state.BlockState> stateFunc, boolean spawnParticles)
    • toggleRedstonePower

      void toggleRedstonePower(Selection selection)
    • modifyEntities

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

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

      void modifyEntity(ElementLink<EntityElement> link, Consumer<net.minecraft.world.entity.Entity> entityCallBack)
    • createEntity

      ElementLink<EntityElement> createEntity(Function<net.minecraft.world.level.Level,net.minecraft.world.entity.Entity> factory)
    • createItemEntity

      ElementLink<EntityElement> createItemEntity(net.minecraft.world.phys.Vec3 location, net.minecraft.world.phys.Vec3 motion, net.minecraft.world.item.ItemStack stack)
    • modifyBlockEntityNBT

      void modifyBlockEntityNBT(Selection selection, Class<? extends net.minecraft.world.level.block.entity.BlockEntity> beType, Consumer<net.minecraft.nbt.CompoundTag> consumer)
    • modifyBlockEntity

      <T extends net.minecraft.world.level.block.entity.BlockEntity> void modifyBlockEntity(net.minecraft.core.BlockPos position, Class<T> beType, Consumer<T> consumer)
    • modifyBlockEntityNBT

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