Everything posted by Luis_ST
-
[Forge 1.18.1] Help with block with transparency and custom shape
try RenderType.cutoutMipped
-
Error executing task on Client java.lang.IllegalStateException: Invalid entity data item type for field 18 on entit
please post the full debug log you can use https://gist.github.com/ for large text files
-
Error executing task on Client java.lang.IllegalStateException: Invalid entity data item type for field 18 on entit
post debug log please
-
[Forge 1.18.1] Help with block with transparency and custom shape
wrong ItemBlockRenderTypes is used to set the RenderType of the Block, not sure why the class is called ItemBlockRenderTypes is this EventHandler called? use debugger to check
-
[1.18.2] save entities in item nbt
there is no specal Item NBT, you can use Entity#save to save your Entity into the given CompoundTag Note the Tag you use to save the Entity should contains your Mod Id to avoid conflicts between other mods
-
[Forge 1.18.1] Help with block with transparency and custom shape
show the updated code
-
[Forge 1.18.1] Help with block with transparency and custom shape
the code will not compile, because there is a bracket missing you call ItemBlockRenderTypes twice, in FMLCommonSetupEvent and the in FMLClientSetupEvent but you should call int onyl in FMLClientSetupEvent
-
[1.16.5] Registering BlockItem - might be null
this is not how GitHub works, you should use a Git Client to upload your Project
-
Game crashed and world can not be started
post new debug log
-
After some tinkering on the mods i got past the loading screen, but now i can't get into the world after creating it
please post debug log, you can use https://gist.github.com/ for large text files
-
[1.16.5 mcp] display my capability mana in gui
if you don't know how to pass in a parameter to the constructor and storing this parameter in a final field you should learn basic java first
-
[1.16.5 mcp] display my capability mana in gui
it's a method you should call it you can get the ClientWorld from: Minecraft.getInstance().world
-
An Error I Keep Seeing
Problem with Pollen. Make sure you are using the latest version. If the Mod is already up to date, report this bug to the Mod author. Also please stop spamming posts
-
Throw an ender pearl in the direction that the player is looking at.
did you looked what the EnderpearlItem does in #use? but basically you need to create a new instance of ThrownEnderpearl, the you could modify the ThrownEnderpearl in the way you want but befor you add the ThrownEnderpearl to the Level via Level#addFreshEntity you need to call ThrownEnderpearl#shootFromRotation the second parameter is the x rotation the third parameter is the y rotation
-
[1.16.5 mcp] display my capability mana in gui
there is no sender on the client, due you sync your capability to all players you have to send the associated player's network id to the client then you can get the Player on client side via ClientWorld#getEntityByID you also need to note that Packets whach are sent from the server to the client should be handled in another class and wrapped via DistExecutor#unsafeRunWhenOn you can take a look at this as an example (the second code part)
-
[1.16.5 mcp] display my capability mana in gui
this will send the packet to all players, but yeah this should work
-
Help my 1.16.5 forge server wonanything
this is not the full path
-
Minecraft 1.18.2 modded crashes on launch
post debug log
-
Help my 1.16.5 forge server wonanything
if you need the default java path it should be C:\Program Files\Java else i don't know, this is your part where did you install java?
-
[1.16.5 mcp] display my capability mana in gui
you need to send a Packeet to the client
-
Help my 1.16.5 forge server wonanything
copy the path of the java 8 installation and replace the java keyword in the command line command 1.16.5, there is no reason to use an outdated version also 1.12.2 is no longer supported
-
Help my 1.16.5 forge server wonanything
no you can use the full path of java instead of 'java' in the command of the .bat/.sh file
-
Help my 1.16.5 forge server wonanything
this is not possible post the new error please
-
Help my 1.16.5 forge server wonanything
post new error
-
Help my 1.16.5 forge server wonanything
update Forge to the latest version and 1.16.5 requires java 8
IPS spam blocked by CleanTalk.