Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Niprow

Members
  • Joined

  • Last visited

Everything posted by Niprow

  1. As far as I know, recipes are inserted into the recipe book by advancements. You just need to "replace" this json file as well.
  2. obviously not check out: net.minecraftforge.client.model.ModelLoader#addSpecialModel net.minecraft.client.renderer.model.ModelManager#getModel
  3. Check net.minecraft.client.renderer.tileentity.PistonTileEntityRenderer It should help
  4. I have my own RecipeType, my own block who can craft the new recipes but now I want them seen in the recipe book in my own container. But when I look at the code for example RecipeBookCategories says "I am an enum and private, looser" and I am not very confident about easy implementation. Do I have to write my own RecipeBook with new Gui and stuff now or is there a clever way?
  5. check net.minecraft.client.renderer.ItemRenderer#renderItem out you can get it with Minecraft#getItemRenderer and the minecraft instance just with Minecraft#getInstance
  6. And now I have realized that I just called ModelManager#getModel too early. It also works via the ModelManager
  7. oh it was so easy: ModelLoader#instance() instead of ModelManager
  8. yes, at first they were not, I got an error that the models cannot be loaded. But unfortunately that is not the problem.
  9. have you checked with "System.out.println(<block_state>.getBlock())" or the debugger if you are realy aiming the WaterBlock with the BlockPos? If so try to use <block_state>.getBlock() == net.minecraft.block.Blocks.WATER
  10. I have registered my models during the ModelRegistryEvent: @Mod.EventBusSubscriber(bus=Mod.EventBusSubscriber.Bus.MOD) public static class RegistryEvents { @SubscribeEvent public static void onModelRegistry(net.minecraftforge.client.event.ModelRegistryEvent event) { /* * special models for TileEntityRenderers and other Renderers */ ModelLoader.addSpecialModel(Constants.MDL_SIMPLE_MAGIC_GENERATOR_BASE_ON); ModelLoader.addSpecialModel(Constants.MDL_SIMPLE_MAGIC_GENERATOR_BASE_OFF); } } It is called! And now I want to get the IBakedModel from my models but how? I tried it with the Model Manager and it didn't work: ModelManager manager = Minecraft.getInstance().getModelManager(); base_on = manager.getModel(Constants.MDL_SIMPLE_MAGIC_GENERATOR_BASE_ON); base_off = manager.getModel(Constants.MDL_SIMPLE_MAGIC_GENERATOR_BASE_OFF); if(base_on != manager.getMissingModel()) { //this will not be executed } thanks for help
  11. Do you have access to the corresponding BeaconScreen or BeaconContainer?
  12. So either the containers synchronize this by themselves or it is only displayed and not saved. You can check this by moving items via mod. Then out of the world and back in again. If the items are where you moved them, everything is fine. Sorry for the ambiguity
  13. first: you need access to the server to put items into slots. second: If you're looking for the item it should be stored somewhere in the TileEntity of the beacon.
  14. try: @Override public boolean propagatesSkylightDown(BlockState p_200123_1_, IBlockReader p_200123_2_, BlockPos p_200123_3_) { return true; } and please anybody tell me how to insert code in a extra-window
  15. Try the FMLCommonSetupEvent QQ.java
  16. What do I have to do to get transparent textures into the game? I have overwritten "isTransparent" and "isVaiableOpacity" but it remains grey where it should be transparent. It is a SixWayBlock that I have overwritten. Blockstate and models load normally.

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.