-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
Help Creating a Custom Machine [1.12.2]
Animefan8888 replied to Distinct Soul's topic in Modder Support
// Instead of... @ObjectHolder("modid") public class ModItems { public static final Item SOME_ITEM = null; } // Do it on every field. public class ModItems { @ObjectHolder("modid:registry_name") public static final Item SOME_ITEM = null; } It's not that hard. -
Just use the Item class.
-
Is it possible that your resources folder isn't a source folder?
-
[1.12.2] Proper way to set player speed on server? (Solved)
Animefan8888 replied to ZephaniahNoah's topic in Modder Support
I said apply a modifier to the attribute not change the base value. Also why are you doing it on the client do it on the server. -
Update to 1.12.2 1.10.2 is no longer supported on this forum.
-
[1.12.2] Proper way to set player speed on server? (Solved)
Animefan8888 replied to ZephaniahNoah's topic in Modder Support
Show what you tried. -
[1.12.2] Proper way to set player speed on server? (Solved)
Animefan8888 replied to ZephaniahNoah's topic in Modder Support
Try adding a modifier to the speed attribute. -
Have you set the main class to GradleStart?
-
Could you show some screenshots of your eclipse workspace including the runs configurations.
-
You'll have to use your own IRecipe implementation and override getRemainingItems and make sure it returns an empty list or just ignores the Water Bucket's container Item.
-
Post all of your code. What is the icon field? Where do you initialize it?
-
Yes. It should just be... registerColors(event){ event.getBlockColors().register(...) } You need to have a TileEntity that stores the color. Nothing else. You need to make your own implementation of IBlockColor. This implementation needs to retrieve the color from the TileEntity. Check out DyeableArmorItem/IDyeableArmorItem
-
[1.14.4] Disabling BlockItems based on configuration
Animefan8888 replied to F43nd1r's topic in Modder Support
Yes because you shouldn't have to add that extra line of code. It should just be able to work. Aka the search should be populated after the configs are loaded. -
[1.14.4] Disabling BlockItems based on configuration
Animefan8888 replied to F43nd1r's topic in Modder Support
There might be a way currently, you'll have to call Minecraft.getInstance().populateSearchTreeManager() And if that doesn't work I don't know of a way. Anyways you should report this as an issue on the MinecraftForge github. -
[1.14.4] Disabling BlockItems based on configuration
Animefan8888 replied to F43nd1r's topic in Modder Support
What makes you think that? It is called whenever the player switches ItemGroup tabs in the inventory. -
[1.14.4] get config in IConditionSerializer
Animefan8888 replied to F43nd1r's topic in Modder Support
Store your configuration when you create it in your setup method in a static field. -
How do i make a block with a model, that it two blocks high?
Animefan8888 replied to Drachenbauer's topic in Modder Support
state.get(...) -
How do i make a block with a model, that it two blocks high?
Animefan8888 replied to Drachenbauer's topic in Modder Support
If you store the blocks color in the BlockState you can get it from the BlockState you are given in the parameters. If you are storing it in a TileEntity you can get the TileEntity by doing world.getTileEntity(...) Umm if you store the value in the BlockState you can use BlockState#get(IProperty) to get the value. -
How do i make a block with a model, that it two blocks high?
Animefan8888 replied to Drachenbauer's topic in Modder Support
You have access to the block state. I'm not sure what you mean here. Please elaborate. -
Use PlayerUpdateEvent
-
You need to check if there is a block above the player.
-
Sometimes people skip parts lol.