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.

The_Peoples_Bee

Members
  • Joined

  1. Setting it to static worked. Thank you.
  2. @Mod("earlydays") @Mod.EventBusSubscriber(modid = EarlyDays.MODID, bus = Mod.EventBusSubscriber.Bus.MOD) public class EarlyDays { public static final Logger LOGGER = LogManager.getLogger(); public static final String MODID = "earlydays"; public EarlyDays() { IEventBus bus = FMLJavaModLoadingContext.get().getModEventBus(); EarlyDaysRegistries.ITEMS.register(bus); EarlyDaysRegistries.BLOCKS.register(bus); EarlyDaysRegistries.TILE_ENTITY_TYPES.register(bus); MinecraftForge.EVENT_BUS.register(this); } @SubscribeEvent public static void onRegisterItems(final RegistryEvent.Register<Item> event){ EarlyDaysRegistries.BLOCKS.getEntries().stream().map(RegistryObject::get).forEach(block -> { event.getRegistry().register(new BlockItem(block, new Item.Properties().group(EarlyDaysItemGroup.EARLY_DAYS)).setRegistryName(block.getRegistryName())); }); } @SubscribeEvent public void setup(final FMLClientSetupEvent event) { RenderTypeLookup.setRenderLayer(EarlyDaysRegistries.MOON_CREAM_BLOCK.get(), RenderType.getTranslucent()); } } I should have done that sooner perhaps.
  3. As I am new to modding, I do not really know how to do this.
  4. Despite it being in a FMLClientSetupEvent, RenderTypeLookup does not seem to be modifying any of the blocks' render types. private void setup(final FMLClientSetupEvent event) { RenderTypeLookup.setRenderLayer(EarlyDaysRegistries.MOON_CREAM_BLOCK.get(), RenderType.getTranslucent()); } public static final RegistryObject<Block> MOON_CREAM_BLOCK = BLOCKS.register("moon_cream_block",()->new SlimeBlock(AbstractBlock.Properties.create(Material.CLAY, MaterialColor.SAND).slipperiness(0.8F).sound(SoundType.SLIME).notSolid().variableOpacity())); I have attempted this with other blocks as well with the same result.

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.