Class PonderScene

java.lang.Object
com.simibubi.create.foundation.ponder.PonderScene

public class PonderScene extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • deselect

      public void deselect()
    • rayTraceScene

      public Pair<net.minecraft.world.item.ItemStack,net.minecraft.core.BlockPos> rayTraceScene(net.minecraft.world.phys.Vec3 from, net.minecraft.world.phys.Vec3 to)
    • reset

      public void reset()
    • begin

      public void begin()
    • getBaseWorldSection

      public WorldSectionElement getBaseWorldSection()
    • getSceneProgress

      public float getSceneProgress()
    • fadeOut

      public void fadeOut()
    • renderScene

      public void renderScene(SuperRenderTypeBuffer buffer, com.mojang.blaze3d.vertex.PoseStack ms, float pt)
    • renderOverlay

      public void renderOverlay(PonderUI screen, com.mojang.blaze3d.vertex.PoseStack ms, float partialTicks)
    • setPointOfInterest

      public void setPointOfInterest(net.minecraft.world.phys.Vec3 poi)
    • getPointOfInterest

      public net.minecraft.world.phys.Vec3 getPointOfInterest()
    • tick

      public void tick()
    • seekToTime

      public void seekToTime(int time)
    • addToSceneTime

      public void addToSceneTime(int time)
    • stopCounting

      public void stopCounting()
    • markKeyframe

      public void markKeyframe(int offset)
    • addElement

      public void addElement(PonderElement e)
    • linkElement

      public <E extends PonderElement> void linkElement(E e, ElementLink<E> link)
    • resolve

      public <E extends PonderElement> E resolve(ElementLink<E> link)
    • runWith

      public <E extends PonderElement> void runWith(ElementLink<E> link, Consumer<E> callback)
    • applyTo

      public <E extends PonderElement, F> F applyTo(ElementLink<E> link, Function<E,F> function)
    • forEach

      public void forEach(Consumer<? super PonderElement> function)
    • forEach

      public <T extends PonderElement> void forEach(Class<T> type, Consumer<T> function)
    • forEachVisible

      public <T extends PonderElement> void forEachVisible(Class<T> type, Consumer<T> function)
    • forEachWorldEntity

      public <T extends net.minecraft.world.entity.Entity> void forEachWorldEntity(Class<T> type, Consumer<T> function)
    • registerText

      public Supplier<String> registerText(String defaultText)
    • builder

      public SceneBuilder builder()
    • getSceneBuildingUtil

      public SceneBuildingUtil getSceneBuildingUtil()
    • getTitle

      public String getTitle()
    • getString

      public String getString(String key)
    • getWorld

      public PonderWorld getWorld()
    • getNamespace

      public String getNamespace()
    • getKeyframeCount

      public int getKeyframeCount()
    • getKeyframeTime

      public int getKeyframeTime(int index)
    • getTags

      public List<PonderTag> getTags()
    • getComponent

      public net.minecraft.resources.ResourceLocation getComponent()
    • getElements

      public Set<PonderElement> getElements()
    • getBounds

      public net.minecraft.world.level.levelgen.structure.BoundingBox getBounds()
    • getId

      public net.minecraft.resources.ResourceLocation getId()
    • getTransform

      public PonderScene.SceneTransform getTransform()
    • getOutliner

      public Outliner getOutliner()
    • isFinished

      public boolean isFinished()
    • setFinished

      public void setFinished(boolean finished)
    • getBasePlateOffsetX

      public int getBasePlateOffsetX()
    • getBasePlateOffsetZ

      public int getBasePlateOffsetZ()
    • getBasePlateSize

      public int getBasePlateSize()
    • getYOffset

      public float getYOffset()
    • getTotalTime

      public int getTotalTime()
    • getCurrentTime

      public int getCurrentTime()