Posted June 28, 20205 yr Hi, How do we set up FluidTags in 1.16.1? In 1.15.2 there was a Wrapper class within FluidTags and was able to do this: public static Tag<Fluid> MY_FLUID = new FluidTags.Wrapper(new ResourceLocation(Main.MODID, "my_fluid")); That subclass is gone now and I can't seem to find the new way to set up those tags. Thanks
June 28, 20205 yr FluidTags#makeWrapperTag or TagRegistry#func_232937_a_ for a more general case should work. And they are now ITag#INamedTag objects.
June 29, 20205 yr Author I see the makeWrapperTag function but it is private so I can't use it. If I use TagRegistry, I can't seem to get it to inject it into the already existing TagRegistry that FluidTags is using since I have no way of accessing that since it is private to FluidTags.
June 29, 20205 yr Author I see the makeWrapperTag function but it is private so I can't use it. If I use TagRegistry, I can't seem to get it to inject it into the already existing TagRegistry that FluidTags is using since I have no way of accessing that since it is private to FluidTags.
June 30, 20205 yr Author Hi, any more ideas? I can't seem to get that one to work. Maybe I'm doing it wrong. I get an error that the game is trying to use the value before it is bound.
June 30, 20205 yr Author Nevermind. Recent forge update made FluidTags#makeWrapperTag() public so I can use that now.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.