Everything posted by Azarsra
-
1.18.2: How to make how to make a block tick?
Just trying to make my custom grass block grow on dirt, did this back in 1.7.10, But can't seem to get the tick to happen in this version.
-
how to make custom fluid not change color depending on biome?
it turns out it is a problem when another mod, The problem is caused by terrablender.
-
how to make custom fluid not change color depending on biome?
My fluid changes color depending on the biome, the same way water does. But I want it to stay the same color.
-
How to make a fluid that gives you a potion effect when you're inside of it
Well, I got this working, thanks for trying to help though, how do I get my fluid to have water physics?, right now it does not push you. You can just sorta clip through it. Nevermind, I got the fluid fully working.
-
How to make a fluid that gives you a potion effect when you're inside of it
Right now it only works with players but I want it to work with every entity. I achieved this same thing back in 1.7.10. so I'm not sure what changed in this version.
-
1.18.2 How do I make my block only mineable with netherite?
Nevermind, I just made use of canHarvestBlock. Thanks everyone.
-
How do I Add enchanted effect to armor when wearing
Hey, how would I go about apply the enchanted effect?, also I don't want the armor to be enchanted I just want it to look enchanted when wearing it.
-
How do I Add enchanted effect to armor when wearing
Okay I will try that
-
How do I Add enchanted effect to armor when wearing
Title says it all.
-
1.18.2 How do I make my block only mineable with netherite?
Is there anyway I can make My own custom "needs_diamond_tool.json" but instead of diamond, It needs netherite?
-
1.18.2 How do I make my block only mineable with netherite?
Thanks! I added it, but is there anyway I can Make it mineable with any tier higher than diamond?
-
1.18.2 How do I make my block only mineable with netherite?
Thanks, I'll look into that later!
-
1.18.2 How do I make my block only mineable with netherite?
Where is the vanilla leave LootTables located? also sorry for not responding sooner I was sick
-
1.18.2 How do I make my block only mineable with netherite?
My block is mineable with diamond, but I only want it to be mineable with netherite, How should I go about doing this
-
player.inventory in Version 1.18 not working?
For example getInventory() is public, and at the beginning of your code, it says public, which means you can use it in other classes, but if you switch that to private, it will not be able to be used in other classes. I hope you understand that.
-
player.inventory in Version 1.18 not working?
@Hannos While I do Love helping people, diesieben07 is right, You Must atleast try to understand the Code I am telling you to use, That way You can Write code without having to post/look on forums just to get something to work
-
How to make this code from 1.18.1 work on 1.18.2?
public static final ConfiguredFeature<?, ?> LinaBlock = FeatureUtils.register("blockeeveelina", Feature.ORE.configured(new OreConfiguration(eeveelina_List, 10))); public static final PlacedFeature EeveelinaPlacement = PlacementUtils.register("blockeeveelina_placer_all", LinaBlock.placed(commonOrePlacement(15, HeightRangePlacement.triangle(VerticalAnchor.bottom(), VerticalAnchor.absolute(40)))));
-
Flower texture works in eclipse but not outside of eclipse
Found the problem, Turns out even though I changed The texture name to lower case, My computer for some reason would not update the name. So I just copied and pasted it, and for some reason, That updated The name to all lower case, why? I don't even know. Sorry for wasting your time, on this stupid little mistake.
-
Flower texture works in eclipse but not outside of eclipse
this is all i've found so far: Using missing texture, unable to load tutorialmod:textures/block/linaflower.png : java.io.FileNotFoundException: tutorialmod:textures/block/linaflower.png
-
player.inventory in Version 1.18 not working?
Glad I can help, and remember coding will always have set backs, the thing that makes coding special is a person's will to keep going until they succeed.
-
player.inventory in Version 1.18 not working?
If you're wonder the "inventory" method, says private, so it can only be used in the player class, I hope this helps anyone.
-
player.inventory in Version 1.18 not working?
Use "getinventory()" instead of "inventory" If you go in the player class, you will see that it say "public static" instead of "private" private can only be seen in one class, so use the "getInventory"
-
Flower texture works in eclipse but not outside of eclipse
here are the .json files Flower Json: { "parent": "minecraft:block/cross", "textures": { "cross": "tutorialmod:block/linaflower" } } FlowerPot Json: { "parent": "minecraft:block/flower_pot_cross", "textures": { "plant": "tutorialmod:block/linaflower" } } the model Json: { "parent": "item/generated", "textures": { "layer0": "tutorialmod:block/linaflower" } } Blockstates: { "variants": { "": { "model": "tutorialmod:block/linaflower" } } } { "variants": { "": { "model": "tutorialmod:block/potted_linaflower" } } } Registries: private void LinaClient(final FMLClientSetupEvent event) { ItemBlockRenderTypes.setRenderLayer(BlockInit.LinaFlower.get(), RenderType.cutout()); ItemBlockRenderTypes.setRenderLayer(BlockInit.PotLinaFlower.get(), RenderType.cutout()); } private void LinaSetup(final FMLCommonSetupEvent event) { event.enqueueWork(() ->{ ((FlowerPotBlock)Blocks.FLOWER_POT).addPlant(BlockInit.LinaFlower.getId(), BlockInit.PotLinaFlower); }); }
-
1.18.1 I need help making an item that can skip time.
Sorry for not responding sooner, Thanks for helping me, even though I was being a pain, I feel really stupid now, I'm just wondering how did I not come up with that earlier, It is working but instead of the smooth transition, it just poofs into daytime, but honestly I don't really care much, Thank you for helping me.
-
1.18.1 I need help making an item that can skip time.
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.