Everything posted by Draco18s
-
Convert x and y to another resolution [1.8.9]
You would need to track (and allow the player to modify) two positions: The anchor point (what to scale relative to) The offset from the anchor Unfortunately, this ends up being confusing to the player: moving either one moves the text, so why are there two, and why isn't it where I want it when I change resolutions?
-
[1.10.2] How to replace an entity's doLivingUpdate() method?
No. https://stackoverflow.com/a/11935996/1663383
-
300 models, with different textures [1.11.2]
I don't think that using the same json file will really reduce the load-up time any: even if the json file is cached the game still needs to load the texture file and convert it to a 3D model and cache it.
-
Assigning different models to different blockstates of a block
Similarly, your asset files need to be all lower case as well.
-
Assigning different models to different blockstates of a block
Which block are you having a problem with? Are there any errors in the console?
-
[1.11.2] Game crashes
It means you have some other item also being registered with that name. Duh.
-
[1.10.2] CropGrowEvent and sub events firing for vanilla crops, but not modded crops
- I need to learn how to do this - Auto-replace version
...post...your...code... Like, your gradle.build file and your main mod class.- Need help with readFrom/Write to NBT
Why is this client-side-only reference in common code?- 1,11,2 Custom Block .json not rendering
- [1.7.10] Detect if slot item changed to sword
Note: Using Capabilities requires upgrading past 1.7.10- I need to learn how to do this - Auto-replace version
so... this? https://github.com/Draco18s/ReasonableRealism/blob/master/build.gradle#L49- [1.8.9] Running code every tick while in a world
Not to mention if someone else registers an enchantment before you do.- [1.8.9] Running code every tick while in a world
Ew. Absolutely ew. Contains value 86? Really? You couldn't use an actual enchantment instance?- 1,11,2 Custom Block .json not rendering
Aw for fuck's sake. Use ModelLoader.setCustomModelResourceLocation, stop using old, out of date methods that are broken and don't work properly.- 1,11,2 Custom Block .json not rendering
Its from when you register a model for your item. You are doing that, yes?- 1,11,2 Custom Block .json not rendering
Uh what do you mean "my whole block"? Of course I have a model: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/models/block/axel.json Two for this block, actually: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/models/block/frame.json- 1.11.2 Enchantment Difference Help
LivingAttackEvent probably- 1,11,2 Custom Block .json not rendering
This is what my blocks look like: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/blockstates/axel.json#L11- Custom Block (Oven)
World#totalWorldTime is always accurate (it only increases, it never decreases), except for the /time command.- Major Config Issues
Well, none of your config options are booleans, they're all integers. if(1 == True) //is false, assuming it even compiles- 1.11.2 Enchantment Difference Help
This is likely due to the fact that the enchantment doesn't directly handle dealing the damage. The code for attacking does, by checking if there is an enchantment for damage, and if so, querying its value (and then doing the addition itself). For you to get the same effect, you need to use Events.- Crashing when right clicking with custom sugar cane item
$100 says you create and register your item before you create and register your block.- [1.8.9]GL EROR & Dimension Chank Render Bug
By the way, you have a bunch of missing models/variants. You should fix those too. And you have a missing texture: [12:40:12] [Client thread/WARN]: Failed to load texture: japanese:textures/country/sun.png java.io.FileNotFoundException: japanese:textures/country/sun.png- Custom Block (Oven)
You're not the first person to have this idea. - I need to learn how to do this - Auto-replace version
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.