Everything posted by Animefan8888
-
Help with Translucent Block
Either you didn't push your code to github or you didn't do what I said.
-
Custom Block Models Problem
Your model doesn't say your modid for the texture.
-
1.12 Crashing without evening opening (LOGS)
Here is your problem.
-
Server lagging out of nowhere. (1.12) (SOLVED)
This doesn't make any sense, when you hosting and playing on the same machine you should have the theoretical best connection.
-
Server lagging out of nowhere. (1.12) (SOLVED)
And this happens when you run it on a completely separate machine as well?
-
Server lagging out of nowhere. (1.12) (SOLVED)
So like Block breaking and placing latency? Then it is probably a problem with your internet.
-
Server lagging out of nowhere. (1.12) (SOLVED)
What kind of lag are we talking about?
-
how to get a sound to play from an array(using onItemRightClick ) - 1.12.2 modding
A SoundEvent that you have to make.
-
how to get a sound to play from an array(using onItemRightClick ) - 1.12.2 modding
That's partially right, now you just need to pass it into the get method on your list that has the Sounds in it.
-
how to get a sound to play from an array(using onItemRightClick ) - 1.12.2 modding
Create a new Random call nextInt(listLength) and then pass the int returned from that into the get method of List/ArrayList
-
how to get a sound to play from an array(using onItemRightClick ) - 1.12.2 modding
List#get(Random#nextInt(List#size())) Or in simpler terms I assume you know how to get an Item out of a ArrayList, so you need to generate a psuedo-random number with the Random class that has a maximum of the lists length.
-
how to get a sound to play from an array(using onItemRightClick ) - 1.12.2 modding
How much code for this do you know, have you created the item, have you overrided the method that fires when the item is right clicked, do you know how to play a sound?
-
how to get a sound to play from an array(using onItemRightClick ) - 1.12.2 modding
How much do you know/have.
-
Help with Translucent Block
Well if it's telling you to remove the override you don't have the right parameters look in BlockSlab they override it.
-
Help with Translucent Block
Simply return true and that should work. In your GlassSlab class.
-
Help with Translucent Block
You will need to override shouldSideBeRendered
-
Help with Translucent Block
Forge didn't change the BlockGlass code at all. All of the code that we are looking at in the net.minecraft package is decompiled minecraft code that has been edited to be readable by the MCP team.
-
Some Ghost-Block-Rendering Related Questions [1.12.2]
Try using this instead. GlStateManager.tryBlendFuncSeparate(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA, GlStateManager.SourceFactor.ONE, GlStateManager.DestFactor.ZERO); Also switch to using GLStateManager instead of direct OpenGL calls.
-
Help with Translucent Block
Not exactly sure what you are trying to say, but if you look in your minecraft jar file you will see the package is net.minecraft... Forge does patch the Block class, but that doesn't mean it isn't Minecraft code. The only thing forge did was add a few fields and methods and made it implement IForgeRegistry.
-
Some Ghost-Block-Rendering Related Questions [1.12.2]
That's what I thought did you try what I suggested above?
-
Help with Translucent Block
Posting to github will help a lot at debugging.
-
Help with Translucent Block
The package is net.minecraft.block not net.minecraftforge.block It is Minecraft code, Mojang allows modding, but the only way to mod something is to interact with there code. In this case Forge provides code that you can look at, but not edit. And applies some changes though asm, and patches so you can view them.
-
Issue With ModelLoader Code
Ummm no, this should remove your error @Override public void registerItemRender(Item item, int meta, String id) { ModelLoader.setCustomModelResourceLocation(item, meta, new ModelResourceLocation(item.getRegistryName(), id)); }
-
Help with Translucent Block
Minecraft code
-
Issue With ModelLoader Code
Your method has two { at the beginning.
IPS spam blocked by CleanTalk.