Everything posted by KeeperofMee
-
[1.7.10] Custom In-game item name color?
Make sure you are encoding with UTF-8.
-
[1.7.2]Problem with Game Registry not "recognizing" getUnlocalizedName()
May I just ask something why are you including your modid & _ before the names? I'm pretty sure that all registered names are modid specific(please correct me if I'm wrong) i.e. incl. modid & _ before makes it so if a player want to get you stuff they have to do: /give @p yourmodid:yourmodid_youritemname instead of just doing: /give @p yourmodid:youritemname
-
[Tutorial Request] [1.7.2] Pumpkin/Melon like blocks
What are you trying to do?
-
Crafting Table GUI immediately closes on open
1. Why aren't you using a switch in your GuiHandler. 2. Please follow java conventions. ClassNamesShouldBeCamelCased. 3. You're trying to open the wrong container. 4. Why are you checking the block in the GuiHandler you already do that in the container so no point in checking twice as the block can't change and crafting tables don't need TileEntities which can change compared to a block which would be removed if it wasn't the same
-
Question about tileentities.
Does using tileentities to store strings etc.. drain performance for players?
-
Overriding vanilla minecraft armor textures in a mod
You could make a resource pack as jabelar said.. or if you neccessary have to code it in just make a new armor which got same stats and uses your textures then remove the vanilla recipe and replace with recipe for your item.
-
1.7.10 3D Block Model not displaying in hand
TileEntityRendererDispatcher.instance.renderTileEntityAt(new YourTileEntity(), 0.0D, 0.0D, 0.0D, 0.0F); Example: https://github.com/KeeperofMee/Survival/blob/master/com/keeperofmee/survival/renderers/ItemRenderGroundStone.java
-
RESOLVED [1.7.10-10.13.0.1180] Damaging crafting item bug?
https://github.com/KeeperofMee/ClayMod/blob/master/claymod/items/CmChisel.java btw you might wanna add "this.setNoRepair();" no quotes, otherwise it will be possible to duplicate it forever.
-
1.7.10 - Extended TileEntity Properties ?
Can't you just simply store the chests in the individual players maybe or in the entity which has to eat?
-
Game crashes after adding a custom rendered block
Please post crash logs in
-
[Forge]Help by Error
If you're making a connection to something try to surround it in try-catches also if you are in offline mode why are you even trying to connect to a server?
-
[1.7.10]How to make blocks work with beacon bases.
I know I just made a bad choice of words I just meant usable as in usable when defining your blocks also using a block instead of a boolean is just like 1 line less of code so thats why I used a block.
-
[1.7.10]How to make blocks work with beacon bases.
If you look at all methods which sets stuff in block all of them returns a block i.e. texture name, block name, hardness, resistance, step sound all methods must return a block to be usable. Ofcourse you can use the boolean as a flag but the method must return a block anyway.
-
[1.7.2] No sound in Forge #1121 src
If I remember correctly I had that problem too but I simply re-runned gradle with gradlew setupDecompWorkspace --refresh-dependencies when I got that problem
-
[1.7.10]How to make blocks work with beacon bases.
What he said but if you use a single block file for all non-special blocks like me I would recommend adding a new method in it: First you need to add a variable at the top: private Block beaconBase; after that we simple add a method called setBeaconBase which is going to return a block: public Block setBeaconBase(){ return beaconBase = this; } Now we do pretty much what he said with a twist: @Override public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ) { return this == beaconBase; } Now we simply add ".setBeaconBase()" to make a block a beacon base block: blockBronze = new SmBlock(Material.iron, "blockBronze", Block.soundTypeMetal, 5.0F, 8.0F).setBeaconBase(); I'm sorry I can't help but make random tutorials in the forums sometimes
-
[1.7.2] No sound in Forge #1121 src
Why are you even using 10.12.2.1121? Use recommended 10.13.0.1180 for 1.7.10 from http://files.minecraftforge.net/ that's also what most big mods have been waiting to upgrade to.
-
Detect blocks placed by players
As diesieben said you can't do this however simply check if it's Blocks.air before you set the block or check if everythings air before it sets any block at all.
-
[1.7.10] onItemInteractionForEntity problem
There is a method called itemInteractionForEntity which I use in my bucket class to fill the milk bucket. So its pretty useless to make a event handler for a built in function in the item class... https://github.com/KeeperofMee/Survival/blob/master/com/keeperofmee/survival/items/buckets/SmTinBucket.java
-
[SOLVED][1.7.10/1.7.2]Generating custom plant.
Hey! I don't usually work with worldgens and I was wondering how I'd go about generating my custom plant like normal plants/tall grass?' EDIT: Solved!
-
[1.7.2] I need help logining in to my minecraft account!
Use "--username=anyusername"(w/o the "".).
-
[Forge 1.7.10 Pre 4] Multiple Issues
I just updated to pre-release 3 hours ago lol well guess it's time again
-
[SOLVED]Is there an event handling block drops?
Thanks, I actually found it moments after I posted this topics but thanks anyway
-
[SOLVED]Is there an event handling block drops?
If so what is it called?
-
[1.7.2]Item that stays in the crafting grid
Override these methods: Item#hasContainerItem Item#doesContainerItemLeaveCraftingGrid Item#getContainerItem
-
Making a block change state when a mob gets near?
Look in the beacons Tileentity in func_146000_x() it uses a method in world called List list = this.worldObj.getEntitiesWithinAABB(EntityPlayer.class, axisalignedbb); so I think you might find something useful in there. EDIT: Please note this is just a guess and I'm by far no expert on this stuff.
IPS spam blocked by CleanTalk.