
Luis_ST
Members-
Content Count
392 -
Joined
-
Last visited
-
Days Won
1
Luis_ST last won the day on February 6
Luis_ST had the most liked content!
Community Reputation
7 NeutralAbout Luis_ST
-
Rank
Diamond Finder
Converted
-
Gender
Male
-
Location
Germany
Recent Profile Visitors
1075 profile views
-
1.12.2 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
-
okay I have now created 3 more messages (NextTool, ToolDown, ToolTop) these are currently only sent by pressing keys, and later also by scrolling with the mouse unfortunately only the first message works, which always gives the player the next tool. at the others, the player's hand moves but he doesn't get a new item this is my ClientTickEvent why do only the first message? and how do I prevent the permanent switch of tools when pressing (adding a cooldown)?
-
AL lib: (EE) alc_cleanup: 1 device not closed when opening a GUI
Luis_ST replied to PutoPug's topic in Modder Support
it's getting stranger and stranger... -
AL lib: (EE) alc_cleanup: 1 device not closed when opening a GUI
Luis_ST replied to PutoPug's topic in Modder Support
that seems very strange to me post the link of that what already exists on github -
AL lib: (EE) alc_cleanup: 1 device not closed when opening a GUI
Luis_ST replied to PutoPug's topic in Modder Support
the first thing about your mistake is that there are usually two constructors, one for the server and one for the client. but you only have one constructor I think he's using MCreator -
AL lib: (EE) alc_cleanup: 1 device not closed when opening a GUI
Luis_ST replied to PutoPug's topic in Modder Support
almost correct, the error occurs when loading the block inventory on the server side Show us this class CraftoxUIGui.GuiContainerMod -
use ItemHandlerHelper#giveItemToPlayer
-
AL lib: (EE) alc_cleanup: 1 device not closed when opening a GUI
Luis_ST replied to PutoPug's topic in Modder Support
can you show the associated container because you get an ArrayIndexOutOfBoundsException, I suspect that you are not adding any slots to your container on the server which explains the crash of the game did you change or add anything? -
[1.16.x] Texture issues with custom wood button
Luis_ST replied to Quaint34's topic in Modder Support
a little more information would be helpful. so has only the button (block) no texture or does the item also have no texture? Edit: can you please show us the blockstate and your models -
you have to create your own PointOfInterestType and a Villager Profession
-
I tried to create a massage and ClientTickEvent from your explanation: My message: https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/core/BackpackMessage.java my PacketHandler: https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/core/ModPacketHandler.java and the ClientTickEvent : https://github.com/Luis-st/Forge-1.16.5-36.0.1-mdk/blob/main/forge-1.16.5-36.0.1-mdk/src/main/java/net/luis/cave/events/other/OnClientTickEvent.java is that correct or do I have to change something?
-
that makes the whole thing not clearer. okay soI should send a message/packet in the ClientTickEvent with the help of the SimpleChannel. should i add a player to the constructor of the message, convert it into bytes using the encode method and then back into a player using the decode method Or do I just think too much about the whole thing and I am right to use the handle method because it is carried out on the receiving side. So I can just check whether the receiving side is server and then open the container?