Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Megaton_216_

Members
  • Posts

    39
  • Joined

  • Last visited

Everything posted by Megaton_216_

  1. 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?
  2. 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.
  3. 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
  4. 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
  5. Yeah it still didn't work for me but I found out that I accidentally registered the items as blockitems. Thanks though!
  6. 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" ] }
  7. 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
  8. I tried making a translucent block but what I tried didn't work: @SubscribeEvent public static void clientSetup(FMLClientSetupEvent event) { event.enqueueWork(() -> {RenderTypeLookup.setRenderLayer(ModBlocks.LARGE_QUARTZ_CRYSTAL.get(), RenderType.getTranslucent());}); } No errors it just didnt work
  9. 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); } }
  10. 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.
  11. 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.
  12. 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.
  13. Oh ok that's pretty insignificant lol. Thanks.
  14. When looking at the mods you have installed and I've seen other people mention it before. Don't remember where tho lol.
  15. In mymod/tags/blocks { "replace": false, "values": [ "mymod:newstonea", "mymod:newstoneb", "mymod:newstonec", "mymod:newstoned", "mymod:newstonee", "mymod:newstonef", "mymod:newstoneg" ] }
  16. Lol I fixed it myself like immediately after I posted this topic. Sorry if that caused any problems but thanks anyways.
  17. 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" } }
  18. I have a transparent block but for some reason, any block it touches is turned invisible. What is the problem and how do I fix it?
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.