
Megaton_216_
Members-
Posts
39 -
Joined
-
Last visited
Everything posted by Megaton_216_
-
So i turned a tile entity i made into a double block (like a door) but now the upper and lower halves function as two independent tile entities. How could I change this so that right-clicking on either half of the double block opens only one tile entity?
-
NVM the fix was already on the mod's repository I just had to add to build.gradle. Sorry I should've tried this earlierrr.
-
Idk what info is useful but the last thing the log says is: [23:39:08] [Server thread/DEBUG] [ne.mi.fm.co.ConfigTracker/CONFIG]: Unloading configs type SERVER latest.log
-
I just added a lib mod and now when I try making a new world or loading one, it gets stuck at 100% No idea what happened, help would be great
-
Yeah it still didn't work for me but I found out that I accidentally registered the items as blockitems. Thanks though!
-
Hi, I was trying to replace the furnace crafting recipe and change the tag to a custom one from my mod. For some reason though, it isn't working and I have no idea why. I'm putting the furnace recipe in data\minecraft\recipes, and my tag is in data\sus\tags\items\flints. this is the recipe and tag: { "type": "minecraft:crafting_shaped", "pattern": [ "###", "# #", "###" ], "key": { "#": { "tag": "sus:flints" } }, "result": { "item": "minecraft:furnace" } } tag: { "replace": false, "values": [ "minecraft:stone", "minecraft:cobblestone", "sus:limestoneb", "sus:limestoned", "sus:limestonek", "sus:limestonel", "sus:limestonem", "sus:limestoner", "sus:limestonet" ] }
-
Hello peoples, I'm trying to make a vanilla block drop a custom item when using an item of my own. Basically how shears can harvest leaves but nothing else (without silk touch) can. Idk if I can change the block's loot table or if I should make the function in the item's class itself. This might not be a clear explanation, but help is very welcome
-
[1.16.4] I need help to fix an IllegalArgumentException
Megaton_216_ replied to Megaton_216_'s topic in Modder Support
yep that seems to be it. THANKS! -
A while ago I made a tool that cycles through blockstates on fabric. I am trying to do the same thing in forge but I get this error: java.lang.IllegalArgumentException: Cannot set property IntegerProperty{name=decor, clazz=class java.lang.Integer, values=[0, 1, 2, 3]} as it does not exist in Block{null} I'm not sure what the error is in my code so im asking for help My code: import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.state.IntegerProperty; import net.minecraft.state.StateContainer; public class DecorableBlock extends Block{ public static final IntegerProperty DECOR = IntegerProperty.create("decor", 0, 3); public DecorableBlock(Properties properties) { super(properties); setDefaultState(getStateContainer().getBaseState().with(DECOR, 0)); } protected void appendProperties(StateContainer.Builder<Block, BlockState> stateContainer) { stateContainer.add(DECOR); } }
-
[1.15.2]How to make a blockstate for changing texture of block
Megaton_216_ replied to Megaton_216_'s topic in Modder Support
What's the limit? -
[1.15.2]How to make a blockstate for changing texture of block
Megaton_216_ replied to Megaton_216_'s topic in Modder Support
Ok I know I need a different model but I don't understand why the fence would be a good reference. It does change the model but I dont think the directional boolean properties help since all my block would do is depend on if the player right-clicked. -
[1.15.2]How to make a blockstate for changing texture of block
Megaton_216_ replied to Megaton_216_'s topic in Modder Support
I dont want the blockstate to be dependent on direction. Yeah I think NOTE_0_24 which is for the different note pitches is most like what im trying to do. It has multiple states that cycle. I just dont know how it affects the note color and I think that would be what I need. -
I want to make it so that when I right-click on a block, it changes the texture of the block. There will be more than two textures that will be cycled through and I want to know how to make a blockstate for something like this. Or if there's an existing one that works for this or something it would be a big help.
-
Oh ok that's pretty insignificant lol. Thanks.
-
When looking at the mods you have installed and I've seen other people mention it before. Don't remember where tho lol.
-
What the title says.
-
Thanks!
-
In mymod/tags/blocks { "replace": false, "values": [ "mymod:newstonea", "mymod:newstoneb", "mymod:newstonec", "mymod:newstoned", "mymod:newstonee", "mymod:newstonef", "mymod:newstoneg" ] }
-
[1.15.2] Transparent block makes adjacent blocks invisible
Megaton_216_ replied to Megaton_216_'s topic in Modder Support
Lol I fixed it myself like immediately after I posted this topic. Sorry if that caused any problems but thanks anyways. -
I'm trying to make my own stone_pickaxe recipe that uses a tag in place of cobblestone. The problem is that the recipe doesn't actually work when I run the game and I don't know why. code for the new recipe: { "type": "minecraft:crafting_shaped", "pattern": [ "XXX", " # ", " # " ], "key": { "#": { "item": "minecraft:stick" }, "X": { "tag": "mymod:stones" } }, "result": { "item": "minecraft:stone_pickaxe" } }
-
[1.15.2] How to make a block transparent?
Megaton_216_ replied to Megaton_216_'s topic in Modder Support
Thanks that worked!