Everything posted by Draco18s
-
[1.11] weird behavior when rendering to screen
TickEvent.RenderTickEvent has sub events, IIRC. You want to use one of them, not all of them.
-
Item texture.
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
-
[1.10.2] [SOLVED] Problems with Player's Display name
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
-
[1.10.2] [SOLVED] Problems with Player's Display name
For Tschipp's use-case, definitely.
-
[1.8.9] Needs help with world chunk manager
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.
-
[1.10.2] [SOLVED] Problems with Player's Display name
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.
-
[1.10.2] [SOLVED] Problems with Player's Display name
Of course it does, I bet it's now crashing with a NullPointerException. My question is, why do you have two proxy variables?
-
[1.8.9] Needs help with world chunk manager
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(...) ).
-
[1.10.2] [SOLVED] Problems with Player's Display name
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.
-
[1.8.9] Needs help with world chunk manager
Its crashing on 102, not 101, and 102 is an empty line: your git is not up to date.
-
[1.10.2] [SOLVED] Problems with Player's Display name
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
-
[1.10.2/1.11] Change Tool Durability Based On Dimension
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.
-
[1.11.2 | Solved] Crashes on Right Clicking a Block
You have to do this because ItemStack[] = new ItemStack[5] contains 5 null item stacks.
-
[1.10.2/1.11] Change Tool Durability Based On Dimension
IItemPropertyGetter only declares a single, client-side-only method. I don't think that'll work.
-
1.11 Messages don't translate outside of development environment.
If you look at the TextComponentTranslation class you'll see that it uses I18n.
-
[1.10.2] Generic question on doors
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).
-
1.11 Messages don't translate outside of development environment.
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
-
[1.10.2] Apply potion effect on sword hit.
Find an EntityLivingBase that is available within the method (hint: there are two) and use one of those.
-
[1.10.2] Apply potion effect on sword hit.
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.
-
[1.10.2] Apply potion effect on sword hit.
Because potions cause Effects. There are also (or can be) affects that aren't applied by potions.
-
[1.10.2] Apply potion effect on sword hit.
There should be a function in the ItemSword class that deals with hurting enemies. Find it, override it, add that code to it.
-
1.11 Messages don't translate outside of development environment.
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.
-
1.11 Messages don't translate outside of development environment.
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.
-
Minecraft python api - where is left mouse button
This is a question asked from such appalling ignorance I wonder if you've even played any mods. Of course it works with both!
-
1.11.2 Problem with Client Proxy [SOLVED]
com.vitrostaic.survivalplus.proxy.ClientProxy does not match com.vitrostatic.survivalplus.proxy.ClientProxy; (look carefully)
IPS spam blocked by CleanTalk.