Jump to content

[1.11] Dragon Dying FX.


Lambda

Recommended Posts

Okay github updated, how do I reference the class and render the TESR?

You register your TESR with GameRegistry.registerTileEntitySpecialRenderer(...) in your client proxy.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

  • Replies 53
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Okay if that is the case, then how do I control when the TESR is displayed?

renderTileEntityFast(TileEntity te, double x, double y, double z, float partialTicks, int destroyStage, VertexBuffer VertexBuffer)

Is the TE for this TESR. So do the same if check.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

GameRegistry.registerTileEntitySpecialRenderer

Does not exist, do you mean

ClientRegistry.registerTileEntity

?

 

If so I have this:

        ClientRegistry.registerTileEntity(TileEntityRestorer.class, ModUtil.MOD_ID + ".restorer", DragonTESR.class);

 

but this IDE throws:

reason: no instance(s) of type variable(s) T exist so that Class<DragonTESR> conforms to TileEntitySpecialRenderer<? super T>

Relatively new to modding.

Currently developing:

https://github.com/LambdaXV/DynamicGenerators

Link to comment
Share on other sites

GameRegistry.registerTileEntitySpecialRenderer

Does not exist, do you mean

ClientRegistry.registerTileEntity

?

 

If so I have this:

        ClientRegistry.registerTileEntity(TileEntityRestorer.class, ModUtil.MOD_ID + ".restorer", DragonTESR.class);

 

but this IDE throws:

reason: no instance(s) of type variable(s) T exist so that Class<DragonTESR> conforms to TileEntitySpecialRenderer<? super T>

Yes I did mean ClientRegistry sorry about that. But change

public class DragonTESR extends FastTESR {
// To
public class DragonTESR extends FastTESR<TileEntityRestorer> {

And fix the error pops up with your IDE on the renderTileEntityFast method.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Hmm still getting an error

 

5b0f4f906c484d0196e96a431f7c9403.png

Oh derp, you need a new instance of DragonTESR for the third parameter not the class.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Okay github updated, however I seem to be getting this error when the TESR is going to draw:

 

java.lang.IllegalStateException: Already building!
at net.minecraft.client.renderer.VertexBuffer.begin(VertexBuffer.java:188)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:52)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:17)
at net.minecraftforge.client.model.animation.FastTESR.renderTileEntityAt(FastTESR.java:58)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:156)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:131)
at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:723)
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1385)
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1299)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140)
at net.minecraft.client.Minecraft.run(Minecraft.java:407)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)

 

I haven't messed much with TESR so I have no clue what to do.

Relatively new to modding.

Currently developing:

https://github.com/LambdaXV/DynamicGenerators

Link to comment
Share on other sites

You cant have two instances of

Tessellator tessellator = Tessellator.getInstance();

VertexBuffer vertexbuffer = tessellator.getBuffer();

At the same time. Use the VertexBuffer parameter.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Updated, but still get the crash here :/ :

 

                vertexbuffer.begin(6, DefaultVertexFormats.POSITION_COLOR);

Why do you still have the Tesselator?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Oops. Github updated, but still the same error :/..

Could you post the error, I don't think it is the same error.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

net.minecraft.util.ReportedException: Rendering Block Entity
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:163) ~[TileEntityRendererDispatcher.class:?]
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:131) ~[TileEntityRendererDispatcher.class:?]
at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:723) ~[RenderGlobal.class:?]
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1385) ~[EntityRenderer.class:?]
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1299) ~[EntityRenderer.class:?]
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106) ~[EntityRenderer.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:407) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.IllegalStateException: Already building!
at net.minecraft.client.renderer.VertexBuffer.begin(VertexBuffer.java:188) ~[VertexBuffer.class:?]
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:50) ~[DragonTESR.class:?]
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:17) ~[DragonTESR.class:?]
at net.minecraftforge.client.model.animation.FastTESR.renderTileEntityAt(FastTESR.java:58) ~[FastTESR.class:?]
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:156) ~[TileEntityRendererDispatcher.class:?]
... 20 more
[01:45:54] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ----
// Would you like a cupcake?

Time: 1/2/17 1:45 AM
Description: Rendering Block Entity

java.lang.IllegalStateException: Already building!
at net.minecraft.client.renderer.VertexBuffer.begin(VertexBuffer.java:188)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:50)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:17)
at net.minecraftforge.client.model.animation.FastTESR.renderTileEntityAt(FastTESR.java:58)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:156)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:131)
at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:723)
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1385)
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1299)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140)
at net.minecraft.client.Minecraft.run(Minecraft.java:407)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
at net.minecraft.client.renderer.VertexBuffer.begin(VertexBuffer.java:188)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:50)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:17)
at net.minecraftforge.client.model.animation.FastTESR.renderTileEntityAt(FastTESR.java:58)

-- Block Entity Details --
Details:
Name: minecraft:plentifulutilities.restorer // com.lambda.plentifulutilities.block.tile.TileEntityRestorer
Block type: ID #238 (tile.plentifulutilities.block_restorer // com.lambda.plentifulutilities.block.BlockRestorer)
Block data value: 0 / 0x0 / 0b0000
Block location: World: (-136,63,243), Chunk: (at 8,3,3 in -9,15; contains blocks -144,0,240 to -129,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Actual block type: ID #238 (tile.plentifulutilities.block_restorer // com.lambda.plentifulutilities.block.BlockRestorer)
Actual block data value: 0 / 0x0 / 0b0000
Stacktrace:
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:156)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:131)
at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:723)
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1385)
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1299)

Relatively new to modding.

Currently developing:

https://github.com/LambdaXV/DynamicGenerators

Link to comment
Share on other sites

net.minecraft.util.ReportedException: Rendering Block Entity
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:163) ~[TileEntityRendererDispatcher.class:?]
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:131) ~[TileEntityRendererDispatcher.class:?]
at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:723) ~[RenderGlobal.class:?]
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1385) ~[EntityRenderer.class:?]
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1299) ~[EntityRenderer.class:?]
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106) ~[EntityRenderer.class:?]
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140) ~[Minecraft.class:?]
at net.minecraft.client.Minecraft.run(Minecraft.java:407) [Minecraft.class:?]
at net.minecraft.client.main.Main.main(Main.java:118) [Main.class:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) [launchwrapper-1.12.jar:?]
at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.12.jar:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_91]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_91]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_91]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_91]
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97) [start/:?]
at GradleStart.main(GradleStart.java:26) [start/:?]
Caused by: java.lang.IllegalStateException: Already building!
at net.minecraft.client.renderer.VertexBuffer.begin(VertexBuffer.java:188) ~[VertexBuffer.class:?]
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:50) ~[DragonTESR.class:?]
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:17) ~[DragonTESR.class:?]
at net.minecraftforge.client.model.animation.FastTESR.renderTileEntityAt(FastTESR.java:58) ~[FastTESR.class:?]
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:156) ~[TileEntityRendererDispatcher.class:?]
... 20 more
[01:45:54] [Client thread/INFO] [sTDOUT]: [net.minecraft.init.Bootstrap:printToSYSOUT:600]: ---- Minecraft Crash Report ----
// Would you like a cupcake?

Time: 1/2/17 1:45 AM
Description: Rendering Block Entity

java.lang.IllegalStateException: Already building!
at net.minecraft.client.renderer.VertexBuffer.begin(VertexBuffer.java:188)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:50)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:17)
at net.minecraftforge.client.model.animation.FastTESR.renderTileEntityAt(FastTESR.java:58)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:156)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:131)
at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:723)
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1385)
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1299)
at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1106)
at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1140)
at net.minecraft.client.Minecraft.run(Minecraft.java:407)
at net.minecraft.client.main.Main.main(Main.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraft.launchwrapper.Launch.launch(Launch.java:135)
at net.minecraft.launchwrapper.Launch.main(Launch.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.minecraftforge.gradle.GradleStartCommon.launch(GradleStartCommon.java:97)
at GradleStart.main(GradleStart.java:26)


A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------

-- Head --
Thread: Client thread
Stacktrace:
at net.minecraft.client.renderer.VertexBuffer.begin(VertexBuffer.java:188)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:50)
at com.lambda.plentifulutilities.util.lib.DragonTESR.renderTileEntityFast(DragonTESR.java:17)
at net.minecraftforge.client.model.animation.FastTESR.renderTileEntityAt(FastTESR.java:58)

-- Block Entity Details --
Details:
Name: minecraft:plentifulutilities.restorer // com.lambda.plentifulutilities.block.tile.TileEntityRestorer
Block type: ID #238 (tile.plentifulutilities.block_restorer // com.lambda.plentifulutilities.block.BlockRestorer)
Block data value: 0 / 0x0 / 0b0000
Block location: World: (-136,63,243), Chunk: (at 8,3,3 in -9,15; contains blocks -144,0,240 to -129,255,255), Region: (-1,0; contains chunks -32,0 to -1,31, blocks -512,0,0 to -1,255,511)
Actual block type: ID #238 (tile.plentifulutilities.block_restorer // com.lambda.plentifulutilities.block.BlockRestorer)
Actual block data value: 0 / 0x0 / 0b0000
Stacktrace:
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntityAt(TileEntityRendererDispatcher.java:156)
at net.minecraft.client.renderer.tileentity.TileEntityRendererDispatcher.renderTileEntity(TileEntityRendererDispatcher.java:131)
at net.minecraft.client.renderer.RenderGlobal.renderEntities(RenderGlobal.java:723)
at net.minecraft.client.renderer.EntityRenderer.renderWorldPass(EntityRenderer.java:1385)
at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1299)

Add those lines back, and then switch the extension to a normal TileEntitySpecialRenderer. And then change renderTileEntityFast to renderTileEntityAt and remove the VertexBuffer parameter.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Okay it seemed to load however, when I join I seem to get VERY low FPS and just have a white screen:

(git updated)

 

And I have a pretty good computer.

Try setting it up so that your TESR only gets called once.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Okay now it seems that I cannot find the TESR anywhere , maybe I can modify the code so the position is set where I want it? I just don't know how :/

Did you update the code?

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Sorry, just did.

You would have to update isRunning on the client, just use a "frame" counter in your TESR to limit the render calls.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Sorry, just did.

You would have to update isRunning on the client, just use a "frame" counter in your TESR to limit the render calls.

 

Okay, trying to do whats on the git seems to make my screen flash white and lag.. a lot, like 10 fps.

Solution

float f = te.getWorld().getWorldTime() % 256;

needs to be changed use your frame variable to understand what this does. You also need to translate to the x, y, and z correctly look at this line

https://github.com/LambdaXV/PlentifulUtilities/blob/master/src/main/java/com/lambda/plentifulutilities/util/lib/DragonTESR.java#L46

I believe that is all.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Okay that seemed to fix the lag issue, but white dimly flashes and the effect still won't display :^(

 

Git has been updated.

This is what mine looks like.

float f = ((float)frame + partialTicks) / 200.0F;

Also remove the frame counter instead just increase it to a limit then reset to 0;

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements




×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.