Everything posted by Draco18s
-
Render to texture -- where to start?
Thought XCW'd updated that recently. Maybe not.
-
Render to texture -- where to start?
Use this: https://mods.curse.com/mc-mods/minecraft/230541-lookingglass The api to handle the rendering is already built, it's amazing, it works across dimensions...you aren't going to get any better than that.
- Anyone tried modding on Visual Studio Code?
-
Anyone tried modding on Visual Studio Code?
IntelliJ isn't the only program that does it, I've run into a few others. But every time it's "undo, undo, undo...ok redo...fuck, why did that just delete a line? Oh, stupid keybinds. FINE, I GUESS I'LL RETYPE IT." I don't mind ctrl-shift-z being redo and not ctrl-y, it's the binding something destructive to ctrl-y that irks me. Yeah, just completely fuck with someone who's never used your software before so they can't fix the mistake because they didn't know what your keybinds were, that's just brilliant.
- Anyone tried modding on Visual Studio Code?
-
[1.12.1] .schematic files versus .nbt for structures, and ways to convert
I have no idea if one already exists. Try google.
-
[1.12.1] placing a fluid block in the world which places flow blocks itself
TL;DR: I don't think you'll ever get this to work. Last I poked around with something similar, the newly spawned water block (the one you have that won't flow) updates, detects it doesn't have a neighbor that is itself, but with a higher amount of liquid, and so it sets itself to air.
-
[1.10.2] How to check if there is room in the player inventory
Attempt to get an item. If it doesn't exist: do nothing
-
[SOLVED][1.11.2] Making a Double Plant (2 Block High Flower)
return blockasphodelplant$enumplanttype == BlockTwoPlant.EnumPlantType.ASPHODELPLANT ? Items.AIR "If the current block's plant type is Asphodel, then return air."
-
[1.10.2] How to check if there is room in the player inventory
What would happen if you input a block that has no item form (say, a piston head)?
-
(SOLVED) [1.11.2] Names for Variant Blocks not Showing
You were creating a standard ItemBlock rather than your custom ItemBlock subclass.
-
[1.12] Block isn't updating on the client, but only sometimes
onBlockAdded -> schedule update -> replace self
-
[1.12] Block isn't updating on the client, but only sometimes
You know that the tickRate method is called by dick and jack, right? It's completely unused by the outside world. The only thing that calls it is a block itself to call scheduleUpdate() with. The only non-block that references this function is the CommandBlock (to scheduleUpdates on spawned blocks) and BlockFluidFinite to determine how quickly its subclasses should flow (oh wait, its in the Block hierarchy). Even within the Block hierarchy it goes virtually unused! BlockStair only uses it to pass off the call to the block that the stairs are made out of (so, basically nothing) as well as the Tripwire and TripwireHook (which actually do use it, again to scheduleUpdates ). Seriously, put 9999999 in there and tell me if it makes any difference what so ever.
-
Remove Vanilla Recipes
(Which is a "manually overriding each recipe" type solution)
-
(SOLVED) [1.11.2] Names for Variant Blocks not Showing
- [SOLVED][1.11.2] Making a Double Plant (2 Block High Flower)
Vanilla might (and probably does) use a custom IStateMapper object to strip some properties from needing to be present in the json file. "It throws an error" is a far cry from "its not needed." If it throws an error either its needed or you did something wrong. Take a look at http://mcforge.readthedocs.io/en/latest/blockstates/forgeBlockstates/#forges-blockstates- (SOLVED) [1.11.2] Names for Variant Blocks not Showing
Where do you actually register your blocks and items? I can't find it in your repo. Found it. https://github.com/saxon564/MoChickens/blob/master/src/main/java/com/saxon564/mochickens/registers/RegisterItems.java#L36 Take a REALLY GOOD LOOK at that line. Tell me where, exactly, you're using ItemFeatherBlock- [1.10.2] How to check if there is room in the player inventory
This is your actual error. Something your Zirconium wand is doing is passing a null item stack (or an ItemStack of null) to ItemHandlerHelper.- [SOLVED][1.11.2] Making a Double Plant (2 Block High Flower)
Your block has 3 properties: Horizontal Facing (4 values) HALF (2 values) PlantType (1 value) All of this is encodable in 4 bits (you have 8 possible variations: 4 * 2 * 1) Looking at your getMetaFromState method, if the top half of the block is set, the metadata is (8 + Facing). Otherwise it's (plant type). However if we look at your getStateFromMeta method, we check if the metadata is >= 8, if it is, set HALF to true. Otherwise we decompose the other three bits into a Plant Type. These two methods are not inverse of each other. Your getStateFromMeta discards the FACING property entirely. THEN, ON TOP OF THAT, your json file ignores both the plant type and facing value: { "variants": { "half=lower": { "model": "modmt:block/asphodelplant_bottom" }, "half=upper": { "model": "modmt:block/asphodelplant_top" } } } Those are not your only two variants! What about "facing=north,half=upper,variant=asphodelplant"?- (SOLVED) [1.11.2] Names for Variant Blocks not Showing
There's a pack.mcmeta setting that can force things back to v2 instead of v3. Ignore that for now, you have a file that works, its just the one block that's messed up. Best bet is to take what's shown in the game (what you see that's wrong) and put that into your lang file.- (SOLVED) [1.11.2] Names for Variant Blocks not Showing
The colon isn't the problem, this is: https://github.com/saxon564/MoChickens/tree/master/src/main/resources/assets/mochickens/lang Your lang file is improperly named. Starting with 1.11, all resources must be all lower case. That is, en_us.lang, not en_US.lang.- [1.10.2] How to check if there is room in the player inventory
This not a full crashlog, this is merely the bit that says "the game crashed." Below it (possibly a ways) will be a description of what occurred.- Remove Vanilla Recipes
The error occurs during startup. It has no impact during play.- Remove Vanilla Recipes
- Remove Vanilla Recipes
- [SOLVED][1.11.2] Making a Double Plant (2 Block High Flower)
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.