Everything posted by Beethoven92
-
[1.14.4]How to render a box(x, y, z) near a block
You did not specify the event to which your listener listens to...you need to do the same you did for this method: public void setup(final FMLCommonSetupEvent event) and change the listened event to FMLClientSetupEvent...the other two methods, preInit and postInit, do not serve a purpose anymore, you won't need those. Also, its true that you have registered the StartupClientOnly class, but the methods that listen to events inside that class still need to be annotated with @SubscribeEvent. Also, where is this method in your code? modEventBus.addListener(this::initClient);
-
[1.14.4]How to render a box(x, y, z) near a block
Thats a possibility, show the rest of your code please
-
[1.14.4]How to render a box(x, y, z) near a block
Well, in the beacon TER there should be everything you need to understand in order to render simple geometry, like a box. Also I think you will find this example useful: https://github.com/TheGreyGhost/MinecraftByExample/tree/1-14-4-partial/src/main/java/minecraftbyexample/mbe21_tileentityspecialrenderer
-
Gui
What we meant is that there is no software (free or not) that will teach you how to make mods for minecraft. You will have to learn it by yourself by: 1) exploring vanilla code 2) exploring other people code, and that includes all the tutorials or example mods you can find around 3) try to write your own code and understand why it works/doesn't works. Sometimes it will be a process of trial and error 4) when all of the above fails to lead you to succesful results, asking for an answer on this forum the way to go
-
Invulnerability Effect help
You are getting a RegistryObject from this, not the actual object..you need to chain also the get() method
-
Gui
Your "free software" would be other people mods, possibly those who are working correctly, unfortunately you need to understand yourself what their code does. Anyway i think you will find this tutorial useful: https://github.com/TheGreyGhost/MinecraftByExample/tree/1-15-2-working/src/main/java/minecraftbyexample/mbe32_inventory_item
-
[1.16.1] I need help with getting my item to have colored layers.
That means your event handler is now actually doing something, and correctly listening to the ColorHandlerEvent
-
[1.16.1] I need help with getting my item to have colored layers.
Look, right now you event handler is just a normal class with a method inside..there is nothing making it an actual event listener. Your event handler is missing something
-
[1.16.1] I need help with getting my item to have colored layers.
But are you sure this event is actually triggering? That's what poopoodice meant..you can test if the event is triggering for example by logging something on the console or any other action that produce a visible result (of course inside the event handler)
-
1.15.2 Texture Not Showing Up
Nevermind, i did not see any change to them earlier...anyway your problem is in the blockstate file..your pointing to a model which is inside a model/blocks folder, but your folder name is model/block
-
1.15.2 Texture Not Showing Up
Post the updated jsons
-
1.15.2 Texture Not Showing Up
Your mod ID appears to be "grubinsect", but your mod assets sub folder name is "grub", they have to be the same name
-
[1.15.2] Cut-out blocks Invisible!
My bad, should have asked to see your block class, for some reason i did not think you could have not set it to render as a model. Glad to help anyway
-
Creating my own patrols (1.15.2)
I guess you could create your custom goals (that will mimic the patrols behaviour) and add them to the zombie goalSelector but i am not sure you can do that effectively..otherwise just create custom entities that extend PatrollerEntity and give them the look you want, as you already said
-
The game crashed whilst initializing game... lol
Mmmmm there seems to be a problem with the Biomes You'll go mod...try launching the game again without that mod
-
[1.15.2] Cut-out blocks Invisible!
Post your updated code again please...however, it must be said..you can also register your class to the event bus without the annotation @EventBusSubscriber...similarly to what you were doing here: MinecraftForge.EVENT_BUS.register(StartupMessageManager.class); But with the line above you were registering the wrong class to the wrong event bus...you would need to use MOD_EVENT_BUS.register(StartupClientOnly.class) where MOD_EVENT_BUS is FMLJavaModLoadingContext.get().getModEventBus()
-
[1.15.2] Cut-out blocks Invisible!
Just put one of them at a time of course (Maybe you already did, just for clarification)
-
[1.15.2] Cut-out blocks Invisible!
there are parameters you need to specify...the default bus, if not specified is the forge bus, you have to subscribe to the mod bus
-
[1.15.2] Cut-out blocks Invisible!
Yeah, it subscribes the class, but that class does absolutely nothing in regard of your problem. You need to add the @EventBusSubscriber annotation on top of your startupclient class. That way every method in this class annotated with @SubscribeEvent will listen to the specified event
-
[1.15.2] Cut-out blocks Invisible!
MinecraftForge.EVENT_BUS.register(StartupMessageManager.class); What would that do^^^ ? I don't see you registering your StartupClientOnly class to the Mod event bus
-
[1.15.2] Cut-out blocks Invisible!
All right, now its correct, before it wasn't, at least in the file you linked...still your StartupClientOnly class is not subscribed to the event bus, so no event will be listened by the function of this class
-
[1.15.2] Cut-out blocks Invisible!
Yeah, i saw that, but RenderType.get() is not a thing as far as i know, shouldn't it be RenderType.getCutout()?
-
[1.15.2] Cut-out blocks Invisible!
It seems that your code is missing some things, maybe it is a copy-paste issue? For example the @Mod annotation on top of your main class or this line inside your client setup event: RenderTypeLookup.setRenderLayer(RegistryHandler.ZING_RED.get(), RenderType.get()); which shouldn't even compile. Also it seems that your client event handler class is not subscribed to the event bus (@EventBusSubscriber)
-
[1.15.2] Dynamic Item Renderer
Does this helps with what you are trying to achieve? https://github.com/TheGreyGhost/MinecraftByExample/tree/1-15-2-working-latestMCP/src/main/java/minecraftbyexample/mbe15_item_dynamic_item_model
-
Biome Generation
Which forge version are you using?
IPS spam blocked by CleanTalk.