Everything posted by poopoodice
-
[1.16.4] How i can open a container by clicking on my mob
No, it is looking for a container provider, so just pass an instance of it.
-
[SOLVED][1.15.2] Render as 2D icon in GUI, 3D model in hand
You can replace with your own model through ModelBakeEvent.
-
[1.16.4] How i can open a container by clicking on my mob
Make a new instance of your container.
-
(1.16.2) Making a new capability (3)
Is the event called? Have you attach the capability to the players?
-
[1.16.4] How i can open a container by clicking on my mob
Override MobEntity#func_230254_b_ and the you can open the container via NetworkHooks.openGui().
-
Rotating Item Model Baked Quads
Maybe not in Vector3d, but there's one in Vector3f
-
[SOLVED] [1.16.4] Change Block Hitbox/Outline
You've never use ExampleBlock?
-
Rotating Item Model Baked Quads
Hey! Thanks for the reply. I'm pretty much figured out how to rotate them, but another question has appeared just like what you've said: displacement. Given the quad I'm not sure where can I get the pivot point, although I can manually type the numbers in but I would like them to be more "automatic", is it possible? Thanks. Edit: Also there is a helper class provided by Forge called QuadTransformer.
-
[1.16.4] Block not rendering as transparent
Set the block's render type to cutout in client setup using RenderTypeLookUp.
-
Rotating Item Model Baked Quads
Hey, I'm now trying to add an item model's quads in another item model's IBakedModel#getQuads. In order to do the dynamic part I need to be able to rotate the vertexes, which I'm not sure how to start with. Any information is appreciated : )
-
[1.16.4] Checking an ItemEntity is in water.
Why do you keep adding the same entity to the world every tick? Edit: my bad, misread the code.
-
[1.16.4] How i can detect mouse cliking
- [1.16.4] How i can detect mouse cliking
What have you tried?- [1.16.4] How i can detect mouse cliking
GameSettings.keyBindAttack. You can get the instance of game settings in Minecraft.- [1.16.4] Entity properties doesn't change in goal
You should not be doing the sitting logic on client.- [1.16.4] Send a chat message through player?
The code you had copied from is old. The name/signature has changed. Minecraft.getInstance().player;- Register an item that uses another as a container? (1.15.2)
Store the gas tank using Supplier.- ranged weapon error: Registry Object not present: nightfuel:bullet_projectile
https://mcforge.readthedocs.io/en/latest/concepts/registries/#deferredregister- ranged weapon error: Registry Object not present: nightfuel:bullet_projectile
Have you register your entities.- 1.16.4 Spawn Diamonds When Breaking Blocks
Since Item already implements IItemProvider, you can reference them directly, e.g.: //this creates a stack of 5 iron nuggets ItemStack ironNuggets = new ItemStack(Items.IRON_NUGGETS, 5);- [1.16.4] How to add lore to ItemStack
There's a list of tooltips provided, you can do whatever you want to it (remove them all, add your custom ones, or even flip them all around...).- 1.16.4 Spawn Diamonds When Breaking Blocks
You don't need to implement a new IItemProvider as Item already does that... so just use the items in Items.java and create a new ItemStack with it, then add them to the world using World#addEntity.- [1.16.4] How to add lore to ItemStack
If you just want to add some simple text to the item use ItemTooltipEvent.- [1.16.4] How to add lore to ItemStack
It gives you the coordinate.... you need to render the extra information yourself.- ranged weapon error: Registry Object not present: nightfuel:bullet_projectile
You shouldn't be adding entities on client side, and have you register your entities? - [1.16.4] How i can detect mouse cliking
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.