Everything posted by Draco18s
-
[1.12.2] Chisel&Bits exports for block models [Solved]
I dunno, do you?
-
[1.12.2] custom entity/mob | missing spawnegg [Solved]
The only one you need to know about is the one at the top called Forge. It contains readable vanilla source code.
-
[1.12.2] How to get all the recipes?
Forge registries offer an enumerator like all other lists. I.e. it works in a for-each loop just fine.
-
[1.12.2] custom entity/mob | missing spawnegg [Solved]
No. You should never post vanilla code. What you posted is what was required. Yes you can. Its under Referenced Libraries.
-
[1.12.2] custom entity/mob | missing spawnegg [Solved]
The class that extends Entity____
-
Finding the item of the user in onLivingHurtEvent
.getHeldEquipment() returns an ItemStack, it will never be equal to an Item.
-
[1.12.2] Minecraft textures alpha borders?
I haven't fiddled around with in in a UI for a long time. I think that in a UI it does clipping: anything below half is 0, anything above half is 1.
-
[1.12.2] Minecraft textures alpha borders?
Yes, Minecraft ignores alpha values below about 0.15 iirc. Its not very good with the rest of the spectrum either.
-
Minecraft Rod
Having seen previous threads about custom fishing rods, I am not entirely sure that everything about them can be done (or if it can, its difficult). E.g. custom loot tables.
-
[1.12.2] Making a Custom Crafting Table for my mod items [Solved]
It's in net.minecraft.client
-
Best Way to Give Blocks "Health"
All blocks in the game? You won't be able to do this easily. Add it to your own blocks? Fairly easily. I did this with my own ores.
-
[Solved] Question regarding metadata
Pure strings.
-
Can't create the item (java.lang.NoSuchMethodError)
Welcome to Cargo Cult programming.
-
Can't create the item (java.lang.NoSuchMethodError)
Not sure what's going on there. But. IHasModel is stupid. ALL items need models and the information required to register one is all public.
-
[1.12.2] How to remove an item from CraftResult
- [1.12.2] Mod wont load in Forge Server
Adding/removing @Override does fuckall in the execution and compilation process. Its purely for your IDE to error check.- [1.12.2] Mod wont load in Forge Server
See my edited post. It isn't overriding anything from vanilla. It should not be there at all.- [1.12.2] Mod wont load in Forge Server
This is why you mark methods as @Override. If Eclipse throws an error about it the correct answer is NOT AND NEVER WILL BE "remove @override" Correction: That method isn't overridden from anything. It should not exist in common code at all.- Problem with knockback
I'm almost certain he's modding without using Forge (i.e. jar modding).- [1.12.2] Dimension Generation lag
These two: You can end up with a Z value for this block's position (with a z1 equal to 0) as high as 35 and you shouldn't go above 31.- [1.12.2] How to check Oak Planks
Yes. You can right click on any name and in the menu that opens up, click "jump to definition." If you do this on BlockLogs it'll open the vanilla class.- [1.12.2] How to check Oak Planks
Like I said, you need to go look at vanilla's BlockLogs class and find the right names.- [1.12.2] How to check Oak Planks
Block states include more information than just the block itself. Right now the code you have detects ALL types of planks. In order to only get oak planks you need to check the block state's variant as well. E.g.: world.getBlockState(blockPos).getProperty(BlockLog.VARIANT) == BlockLog.EnumType.OAK Note that this is not 100% accurate, I don't have my dev workspace up at the moment, but you should be able to use this to find the enum inside the BlockLog class- [1.12.2] Mod wont load in Forge Server
None of it. Its common code. Correct.- How To Add A Survival Inventory Tab like Galacticraft?
1) show your code 2) define "doesn't work" Your posts have been about as helpful as going to the doctor and saying, "it hurts!" - [1.12.2] Mod wont load in Forge Server
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.