-
How to remove exist particle in client level?
As the title, how to remove exist particle in client level?
-
[1.20.1] How to prevent player from kicking by the same name player logged-in in offline forge server?
As title, I only find PlayerLoggedInEvent when I tried this. But, this is called after player has logged-in. Is there any way to prevent player from kicking by the same name player logged-in?
-
[1.20.1] How to render image in tooltip?
In ItemTooltipEvent, it seemed that I can only add the instance of Component to the List<Component>. So how to render image in tooltip?
-
[1.19.2] Make only one player can open GUI at the same time.
I have a block and its blockentity. When player click the block, blockentity will provide menu to player. But I want to make only one player can open GUI at the same time. How to do it?
-
[1.19.2] Make custom arrow invisible.
Solved. Thanks for helping.
-
[1.19.2] Make custom arrow invisible.
I didn't use renderer for my custom arrow. Should I code renderer class to it and then override shouldRender method?
-
[1.19.2] Make custom arrow invisible.
I tried to use setInvisible method to make it invisible, but it didn't affect. How should I do to make it invisible?
-
How to get runtime fields and methods name?
Thanks. But could you tell me which channel in forge discord should I use to chat with robot? I'm lost in finding where the robot in. And how to interact with the robot.
-
List of method syntax for 1.18.2
Sorry for late. Just search it in your IDEA.
-
List of method syntax for 1.18.2
For spawning an entity, you can search SummonCommand and see how minecraft do that.
-
How to get runtime fields and methods name?
As the title, I'm using AccessTransformer but can't find the runtime fields and methods name. How to get that?
-
[1.19.2] The Item can't merge into one slot.
Solved! I found that when the items in your hand, the items would be sent a mod's nbt tag automatically. That caused one slot item had tag, and another slot not. So, the solution is: Before sending items to player, use itemstack.getOrCreateTagElement method to add tag to items firstly. And then all the items have same tags, they can be merged into one slot!
-
[1.19.2] The Item can't merge into one slot.
Additionally, I use player.addItem(Moditem.TestItem.get().getDefaultInstance()) to send items.
-
[1.19.2] The Item can't merge into one slot.
When player killed mob, my mod will send some item into inventory of player directly. But I find that sometimes the same type items can't merge into one slot. But after put them in mainhand, these items can be merge into one slot. The item be sent is mod custom item, and they have some HoverText added by mod. How to solve it?
-
[1.19.2] Why mod send message twice to player.
Solve! Thanks for helping again!๐ It's phase problem.
IPS spam blocked by CleanTalk.