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.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. TickEvent.RenderTickEvent has sub events, IIRC. You want to use one of them, not all of them.
  2. That's your mcmod.info file, which while it contains JSON content is not an item json model. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/oreflowers/models/item/goldwand.json
  3. Caused by: java.lang.NoClassDefFoundError: net/minecraft/client/renderer/color/IItemColor Caused by: java.lang.RuntimeException: Attempted to load class net/minecraft/client/renderer/color/IItemColor for invalid side SERVER Your own blocks and items are trying to use IItemColor on the server: tschipp/creativePlus/items/Wand tschipp/buildingblocks/blocks/BlockGravelGrass
  4. For Tschipp's use-case, definitely.
  5. This call here: https://github.com/micdoodle8/Galacticraft/blob/master/src/main/java/micdoodle8/mods/galacticraft/api/prefab/world/gen/WorldProviderSpace.java#L300-L303 Calls this constructor here: https://github.com/MCCommanderTH/MorePlanets/blob/master/1.8.9/src/main/java/stevekung/mods/moreplanets/module/planets/nibiru/world/gen/WorldChunkManagerNibiru.java#L29-L34 Which, unsurprisingly, never sets unzoomedBiomes to anything.
  6. MainMod.proxy.getClientWorld(); This method will be in BOTH proxy classes. That's the whole point of a proxy. Look at all these deliciously empty methods that actually do something. Your common proxy will return null. Your client proxy will then do what it needs to.
  7. Of course it does, I bet it's now crashing with a NullPointerException. My question is, why do you have two proxy variables?
  8. The only thing that could be null at that line is unzoomedBiomes, which is only never null using the public WorldChunkManagerNibiru(long seed, WorldType type) constructor. I bet you aren't using that constructor (although I can't find where you do call new WorldChunkManagerNibiru(...) ).
  9. You still can't do this: @SidedProxy(clientSide = CLIENT_PROXY, serverSide = COMMON_PROXY) public static ClientProxy clientProxy; Because it will still try to load the common proxy into the variable which can only hold a client proxy.
  10. Its crashing on 102, not 101, and 102 is an empty line: your git is not up to date.
  11. Attempted to load a proxy type tschipp.fakename.CommonProxy into tschipp.fakename.FakeName.clientProxy, but the types don't match You have to type your proxy as being a CommonProxy. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/OresBase.java#L88
  12. You could also just make it straight up take more damage when used in the various dimensions. Leave max alone and tweak the damage-taken values.
  13. You have to do this because ItemStack[] = new ItemStack[5] contains 5 null item stacks.
  14. IItemPropertyGetter only declares a single, client-side-only method. I don't think that'll work.
  15. If you look at the TextComponentTranslation class you'll see that it uses I18n.
  16. Seriously? Literally every block has its own class. And even items have their own classes, except for some very simple do-nothing items (like sticks).
  17. You do the %s and %d stuff in your lang file: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderfarming/lang/en_US.lang#L1 https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/farming/item/ItemButcherKnife.java#L37
  18. Find an EntityLivingBase that is available within the method (hint: there are two) and use one of those.
  19. Classname#MethodName() is not valid java. It's javadoc notation. If you'd been told to use someEntityLivingBaseObject_ThisNameIsArbitrary.addPotionEffect(...) you'd have pasted someEntityLivingBaseObject_ThisNameIsArbitrary.addPotionEffect(...) into your code and then complained that eclipse doesn't know what someEntityLivingBaseObject_ThisNameIsArbitrary was, despite the obviously arbitrary name. So we told you the type of the object because its variable name is arbitrary.
  20. Because potions cause Effects. There are also (or can be) affects that aren't applied by potions.
  21. There should be a function in the ItemSword class that deals with hurting enemies. Find it, override it, add that code to it.
  22. You're already sending a message to the client. When it's received, translate it. It may already even be passing through a translation step, you'd have to check.
  23. The server cannot do translation. The server does not know what language the player has their client set to. Translation can only occur on the client.
  24. This is a question asked from such appalling ignorance I wonder if you've even played any mods. Of course it works with both!
  25. com.vitrostaic.survivalplus.proxy.ClientProxy does not match com.vitrostatic.survivalplus.proxy.ClientProxy; (look carefully)

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.