-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By scientistknight1 · Posted
Apologies for taking so long to respond, I forgot to check the forums for a while. You can probably just use the HoneyBottleItem class when registering your item, if you don't need custom behavior. Here's an example of what you might have to do: public static final RegistryObject<Item> LEMON_JUICE = ITEMS.register( "lemon_juice", () -> new Item( new HoneyBottleItem.Properties().stacksTo(1).food( (new FoodProperties.Builder()) .nutrition(4) .saturationMod(0.1F) .effect(() -> new MobEffectInstance(MobEffects.GLOWING, 100, 0), 0.8F) .build() ) ) ); This is a random food item I grabbed from the mod I'm working on, I just renamed it to lemon juice so you could see what it would look like. Don't worry about being clueless, YouTube will only take you so far. I'd recommend looking at published mods on GitHub to see how to do things, it makes life easier. Just remember to give attribution if you use any of their code, and check their licenses. If you do need to register your item, you can just make a class that inherits from HoneyBottleItem, and then modify what you need in there. -
By yungyjunger · Posted
yeah, other people can change it. but there was another mod i wanted to use instead of minehop, squake, which is essentially the exact same thing, even down to changing the config. -
By scientistknight1 · Posted
I'm not sure - I haven't actually used this mod, so I don't even know how it works. Can you get someone else to try changing the config? -
By yungyjunger · Posted
It does say that, yet I can go into the server with the config set up, and just change it ingame via the mod menu. Just now ingame I changed the gravity to be zero, so Im just floating. is it because im the server owner that this happens? -
By scientistknight1 · Posted
It looks like the configuration is server-side? "Fully configurable settings for the movement logic. (Configs are serverside)"
-
-
Topics
Recommended Posts