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.

SparkleArts

Members
  • Joined

  • Last visited

Everything posted by SparkleArts

  1. Thank you! I will research this, how to use it properly
  2. I want to change the Nether Bricks (Blocks and Item) to a different Texture if you toggle it inside of the Client Side Configuration. But for some reason it doesn't change. I change the Texture with the WorldEvent.Load Event with this peace of code and before I check if the Configuration Variable is true: if (AWTDTweaksConfiguration.BLACK_NETHER_BRICKS.get()) { if (world.isClientSide()) { Minecraft.getInstance().getTextureManager().bindForSetup(new ResourceLocation("another_world_to_discover:textures/blocks/nether_bricks.png")); Minecraft.getInstance().getTextureManager().register(new ResourceLocation("minecraft:textures/block/nether_bricks.png"), Minecraft.getInstance().getTextureManager().getTexture(new ResourceLocation("another_world_to_discover:textures/blocks/nether_bricks.png"))); } if (world.isClientSide()) { Minecraft.getInstance().getTextureManager().bindForSetup(new ResourceLocation("another_world_to_discover:textures/blocks/cracked_nether_bricks.png")); Minecraft.getInstance().getTextureManager().register(new ResourceLocation("minecraft:textures/block/cracked_nether_bricks.png"), Minecraft.getInstance().getTextureManager().getTexture(new ResourceLocation("another_world_to_discover:textures/blocks/cracked_nether_bricks.png"))); } if (world.isClientSide()) { Minecraft.getInstance().getTextureManager().bindForSetup(new ResourceLocation("another_world_to_discover:textures/blocks/chiseled_nether_bricks.png")); Minecraft.getInstance().getTextureManager().register(new ResourceLocation("minecraft:textures/block/chiseled_nether_bricks.png"), Minecraft.getInstance().getTextureManager().getTexture(new ResourceLocation("another_world_to_discover:textures/blocks/chiseled_nether_bricks.png"))); } if (world.isClientSide()) { Minecraft.getInstance().getTextureManager().bindForSetup(new ResourceLocation("another_world_to_discover:textures/items/nether_bricks.png")); Minecraft.getInstance().getTextureManager().register(new ResourceLocation("minecraft:textures/item/nether_brick.png"), Minecraft.getInstance().getTextureManager().getTexture(new ResourceLocation("another_world_to_discover:textures/items/nether_bricks.png"))); } } else { if (world.isClientSide()) { Minecraft.getInstance().getTextureManager().release(new ResourceLocation("minecraft:textures/block/nether_bricks.png")); } if (world.isClientSide()) { Minecraft.getInstance().getTextureManager().release(new ResourceLocation("minecraft:textures/block/cracked_nether_bricks.png")); } if (world.isClientSide()) { Minecraft.getInstance().getTextureManager().release(new ResourceLocation("minecraft:textures/block/chiseled_nether_bricks.png")); } if (world.isClientSide()) { Minecraft.getInstance().getTextureManager().release(new ResourceLocation("minecraft:textures/item/nether_brick.png")); } } }
  3. I found out that I can use the RemovalReason enum Class to check if the Entity that was removed which Reason the Entity was removed. For Example the Reason KILLED. But I don't know if this Enum Class has an Event that you need to call before you can use it. Can someone confirm that? When an Event exist could you tell me the Event for 1.18.2?
  4. For me it only shows renderTooltipEvent and three subclasses of it.
  5. I'm making currently a Skill Mod where I want to show a tooltip on different places on the GUI. I'm currently learning with Java and I couldn't find a possible code how to show a Tooltip on the GUI on MC 1.18.2. Can someone help with this?
  6. I have currently an Mod Idea that you can possess any Mob and Player where you can control the Mob and the Player by yourself. Is it possible to do that without teleporting?
  7. Ah ok, sadly you cannot use multiple Categories, but thanks. But what is about the restriction with the Breakable Enchantment Category, when I wann only wanna Axe only Enchantment?
  8. I want to make an Enchantment that can be only Applied to Swords and Bows. But sadly I found out, that I can only use one EnchantmentCategory. Can someone help me with this Issue?

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.