Everything posted by Animefan8888
-
Minecraft 1.10.2 Auto Repair Problem
I java there are fields, methods, classes/interfaces. What is the one that can return a boolean. you have the words correct isEmpty, but it isn't a field.
-
Minecraft 1.10.2 Auto Repair Problem
This is the important part, it isn't a field. What else can return a boolean.
-
Minecraft 1.10.2 Auto Repair Problem
What does your IDE say when you hover over the red line? Have you strictly compared this to your previous code.
-
Minecraft 1.10.2 Auto Repair Problem
Learn java before making a mod.
-
Minecraft Auto Repair Item 1.10.2
You will have to iterate through the items in the players inventory. EntityPlayer#inventory
-
[1.8][Solved]Ore Will not Generate in the nether
Please do not necro a thread. Make your own thread.
-
[1.12.2] Rendering "phantom" blocks?
No, this is too advanced and specific for there to be a tutorial on it. This can be done in RenderWorldLastEvent, you must check if the Block is your block/the position of the structure. And if it has a TE that determines if it should be rendered you will need to sync that.
-
Minecraft Auto Repair Item 1.10.2
Show what you tried.
-
Cannot seem to override default entity sounds
- Cant open my small server for my and my friends
That is what it looks like to me. Edit: Or Wizardry is assuming that one of its blocks is there, because it expected it to be there. And for some reason it isn't. @EBZK My recommendation to fix this is to open it in mcedit and try to find the specific position that is causing the problem and delete it, worst case scenario you will have to remove one or both of the mods.- Naming My Mod
Decide on a modid I recommend thornecraft-potions as the modid, or thcpotions or some variant. Then your unlocalized name should be equal to your items getRegistryName().toString(). While your registry name should be just the name of your item. It will be appended by your modid automatically if you have done everything right with your Item creation. Yes you can, you will probably have to set up your environment a little differently. What I do is make a folder and this is where all of my mods code will be and then create a new project in eclipse in that folder and import the forge project. This way each of your mods will have their own java project and the forge project will be un-edited. There is two more steps to this process however. After importing the forge project into the workspace you need to configure its build path so that it exports all of its libraries etc. And then you need to configure your projects build path and add the forge project to it. If this wasn't clear enough please ask specific questions.- [1.12.2] Replace world renderer
I don't believe you will have to worry about when it is rebuilt, but I can't quite tell you how it works as I have not even looked at this. Though I believe you will just need to handle the building aspect of the rendering. The "one thing" that is passed to the GPU is just all of the vertex data, texture ids, texture uv mappings, etc. But it is done in mass to reduce the amount of times it has to do this.- [1.12.2] Replace world renderer
To be honest with you, ASM might be easier, but I believe that it can be done with reflection. The world renderers(BufferBuilder instances) are stored in an instance of RegionRenderCacheBuilder within an array that is mapped to BlockRenderLayer(its an enum). Which are then stored in ChunkRenderWorker and ChunkCompileTaskGenerator. The former is stored in ChunkRenderDispatcher, and I believe this is where it is mainly stored. Not sure where you can/should access these with reflection. The instance of ChunkRenderDispatcher is stored in RenderGlobal, which has a public instance in the Minecraft class.- [1.12] Player control riding custom entity
That is what is supposed to happen. Did you get prompted to enter debug mode? Did you say yes?- Container Causes Crash on Shift Click
You are requesting a slot that doesn't exist, find out why it doesn't exist. My best guess is that it has to do with these two lines.- Custom Model Blocks (JSON)
Nope, I doubt there is one. If you go into your .minecraft directory. Go into the versions folder. Open your versions jar. navigate to assets.minecraft.models within the jar file. I recommend winrar to open the jar file if you don't have one already.- Custom Model Blocks (JSON)
assets/minecraft/models/block assets/minecraft/model/item- Custom Model Blocks (JSON)
Using one is quite obviously the easy way of doing this, however just look at the model JSONs in the minecraft jar. It's relatively simple.- [1.12] Player control riding custom entity
Then why not player.inventory.getStackInSlot(player.inventory.currentItem).getItem() == GundamItems.item Or even better player.getActiveItemStack().getItem() == GundamItems.item- Cannot seem to override default entity sounds
Don't do that. You do it exactly the same as you would for a resource pack. Put your sounds in assets.minecraft.sounds.folder.yourfile.ogg- [1.12] Player control riding custom entity
You've provided no such class.- [1.12] Player control riding custom entity
That's ridiculous, that means you are not storing your Items in variables anywhere(I assume).- Cannot seem to override default entity sounds
An extra if statement or two means nothing in the grand scale of an application. Yes that is what happens. If your intent is to replace the default sounds on load, then use your mod as a resource pack. Because it is one.- Cannot seem to override default entity sounds
You'd be wrong. However, most registries prevent modification, the only one I know of that allows removal is the IRecipe registry. Also there used to be a substitution alias system for Items and Blocks, however I knew there where some problems with it. Not sure if they worked the kinks out or just threw it in the trash to be started again. The solution to your problem is simple. Use this /*** * Raised when the SoundManager tries to play a normal sound. * * If you return null from this function it will prevent the sound from being played, * you can return a different entry if you want to change the sound being played. */ public class PlaySoundEvent extends SoundEvent- [1.12] Player control riding custom entity
Why are you comparing the unlocalized names of your Items and not the Items themselves? - Cant open my small server for my and my friends
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.