Everything posted by CoderAtParadise
-
[1.11.2] Help printing non-player chat message
Use sendMessage instead of sendChatMessage Also you don't need to use Minecraft.getMinecraft just use the player instance given to you
- Problem with Forge Mods
-
New fuels added in 1.11 can't be put in the furnace
PR to fix this https://github.com/MinecraftForge/MinecraftForge/pull/3627
-
[1.11] Custom Tool Issues (SOLVED)
You have set your registry name different to what your @ObjectHolder annotations are looking for. such as you have set the registry name to "tool_pickaxe_bone" but are looking for "tool_bone_pickaxe"
-
[1.10.2] @Mod.EventBusSubscriber question
@Mod.EventBusSubscriber accepts Side.CLIENT so you don't need the @SideOnly
-
{Solved} [1.10.2] Blocks not appearing in game
the problem is that you are not registering an item block for your blocks as registering a block doesn't register an item You Need as well as registering the block call ItemBlock youritemblcok = new ItemBlock(theblockyouwantanitemfor) .setRegisteryName(theblockyouwantanitemfor.getRegisteryName()); GameRegistery.register(youritemblock); Edit: probably shouldn't do this at 2am in the morning Edit2 another derp
-
(1.11)(SOLVED)ItemBlock Models Acting Strangely
You are calling ModItems.registerRenderer in init, it needs to be called in preInit
-
[1.10.2 -- b2076] Custom Air
You don't need to extend StateMapperBase only implement IStateMapper
-
[1.11/1.10/1.9] Shared jar possible?
Short answer no. There were too many breaking changes in 1.11 for it be be feasible for the jar compiled in 1.9.4 to work on 1.11. The 1.9.4 to 1.10.2 changes were small and didn't touch anything fundamentally so it was possible and forge special cased that mods would work between those versions. Forge decides which version a mod works on by saying that the version it is compiled against unless stated otherwise by the mod(or forge) that that mc version is the one that it works on.
-
[SOLVED] [1.11] Shapeless and Shaped Recipes Issues, crashing game
Update Forge this will fix the recipes not working
-
[1.9] Item.getItemFromBlock returning null
It's like that because it is a generic register not one specifically for blocks. So the same method is used for items,blocks,sounds,potions and enchantments.
-
[1.9] Item.getItemFromBlock returning null
The new registry system does not automatically register an item for a block you have to manually register an itemblock for it.
-
[1.9] Item texture oversized,wonky held orient, and not affected by JSON changes
Json system changed slightly from 1.8 to 1.9 check out the item model named generated in the vanilla assets for all the rotations.
-
[1.9] Item model not correctly rendering
if you change the parent from builtin/generated to item/generated you don't need any of the display json
-
[1.9] JSON item display rotation and traslations ? <SOLVED>
Its easier just to set the blocks parent to "blocks/block" and for items set the parent to "items/handheld"
-
[Fixed!] [1.8] Flat Textures
To the block class add @SideOnly(Side.CLIENT) public EnumWorldBlockLayer getBlockLayer() { return EnumWorldBlockLayer.CUTOUT; } should make it like the redstone wire
-
[1.8] Fluid not being rendered
Fluid Renderer wasn't added until build 1464, 1502 is just the last build before forge gradle 2.0
-
[1.8] making semi transparent block
If you look in BlockStainedGlass you will find this @SideOnly(Side.CLIENT) public EnumWorldBlockLayer getBlockLayer() { return EnumWorldBlockLayer.TRANSLUCENT; } while in Normal Glass TRANSLUCENT is instead CUTOUT. Add this to your block class and it should fix the problem you are having.
-
[1.8] items missing model
change "items/iron_pickaxe" to "builtin/generated" for the parent
-
[1.8] Custom Stair Error (FIXED)
can you show the item json for that block pls
-
[SOLVED] [1.8] Pillar ItemBlocks
Question why are you handling the placing of the block in the itemblock? The easiest way to do this would just have the block extend BlockLog and look at what BlockOldLog or BlockNewLog do. It's a lot easier than an itemblock.
-
[1.8] [Solved] Texturing is very picky
Try Registering it in preInit that is where i have mine also i think it needs modid
-
[1.8] [Solved] Texturing is very picky
Question have you registered Item Variants? The relevant code being ModelBakery.addVariantName(item,name)
-
[1.8] Error When Creating World
Short answer: Nothing to worry about. Long answer:Nothing to worry about. It's just that the client can't authorize the username of the Dev environment which is usually Player[random number] so it doesn't actually exist on the mojang servers and it returns the authorization error telling you, you can't play on online servers
-
[1.8] onBlockDestroyed Dropping Double Items
surround your code with if(!worldIn.isRemote) which means it will only do it on the server not on the client as well which makes a false item
IPS spam blocked by CleanTalk.