Package foundry.veil.api.quasar.emitters
Class AnchorPoint
java.lang.Object
foundry.veil.api.quasar.emitters.AnchorPoint
-
Field Summary
Modifier and TypeFieldDescriptionorg.joml.Vector3f
List
<net.minecraft.client.model.geom.ModelPart> org.joml.Vector3f
static AnchorPoint
org.joml.Vector4f
org.joml.Vector3f
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.resources.ResourceLocation
getId()
org.joml.Vector3f
net.minecraft.world.phys.Vec3
getWorldOffset
(net.minecraft.world.entity.Entity entity) void
render
(com.mojang.blaze3d.vertex.PoseStack stack, net.minecraft.client.renderer.MultiBufferSource source, float scalar) void
updatePosition
(net.minecraft.world.entity.Entity entity)
-
Field Details
-
TEST_POINT
-
localOffset
public org.joml.Vector3f localOffset -
worldOffset
public org.joml.Vector3f worldOffset -
modelParts
-
origin
public org.joml.Vector3f origin -
transformMatrix
public org.joml.Vector4f transformMatrix
-
-
Constructor Details
-
AnchorPoint
public AnchorPoint(net.minecraft.resources.ResourceLocation id)
-
-
Method Details
-
getId
public net.minecraft.resources.ResourceLocation getId() -
getLocalOffset
public org.joml.Vector3f getLocalOffset() -
getWorldOffset
public net.minecraft.world.phys.Vec3 getWorldOffset(net.minecraft.world.entity.Entity entity) -
updatePosition
public void updatePosition(net.minecraft.world.entity.Entity entity) -
render
public void render(com.mojang.blaze3d.vertex.PoseStack stack, net.minecraft.client.renderer.MultiBufferSource source, float scalar)
-