Everything posted by Draco18s
-
[1.13.2] Source not found for some vanilla classes
- Is it fine to give specific people using my mod capes?
Mojang has capes. Do something else.- Negate Bool .isEmpty in tile entity
I'm sure you'll figure it out!- New to modding and willing to learn
The vast majority of YT tutorials out there are written by people who are just as new to modding as you are. Would you trust their advice? They're so excited that they got something to work, they just HAD to share.- New to modding and willing to learn
Welcome! Your idea is too big. For example, what is a "airtight space"? Think about how you'd define this whole having a render distance of 1 block (ie suffering the blindness effect). Do doors let air pass through them? Iron bars? Fences? You're new. You should start simple. Make a single block.- Get Item from id ("minecraft:stone" for example)
See also, @ObjectHolder- Ore generation near lava
So you clearly understand that in order to place a block (even during generation) that you need: a world coordinates Any reason you can't use that same information to query the world at different coordinates and check for lava?- [SOLVED][1.13.2] Keeping a tile entity through block state change
Probably because there's behavior in the supermethod that you still want to call.- [1.13.2] How to learn?
In which case, it should be something like IComplicatedModel or something. Like this: https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/api/interfaces/IItemWithMeshDefinition.java That lets me go "oh, this is special and needs special treatment" and register its model appropriately.- [1.12.2] What class should I extend to detect block right-click actiavted
Any time @Override yells at you, you made a mistake.- Hardness and Resistance
Both are signed float values. There's a practical upper limit on the hardness, based on the minimum breaking speed as an epsilon (that is, there is a value x where x+e = x and the block effectively is unbreakable). But that value is pretty large.- [1.10.2]get BlockState from other dimension
Get a reference to the world. Get block state from that world.- [1.13.2] how to create item
Forge for 1.13 isn't even out of beta yet. Hold your horses. "And this video is for the blind about how to lead the blind." And now your post is impossible to read. And oh yeah. Octonion aren't associative or commutative. Sedenions are even weirder. Your point is?- How do i make a block colorable exactly like the leather-armour?
[citation-needed] as it is not currently in the top 50.- [1.12.2] Transparency sorting issue on json model
That's not z-fighting. That's a transparency sorting problem, where the game isn't sure which one needs to be rendered first in order to multiply the alpha values correctly. Z-fighting is when the two planes "blend" into each other in very strange ways and shimmer even with subtle camera movement (or none at all) caused by the limited precision of floating point numbers.- How do i make a block colorable exactly like the leather-armour?
Yep. Its still around.- [Solved] [1.12.2] Accessing files within the Mod jar
This might help: https://github.com/Draco18s/ReasonableRealism/blob/1.12.1/src/main/java/com/draco18s/hardlib/CogHelper.java#L29- How do i make a block colorable exactly like the leather-armour?
Scratch isn't programming. Well, it is, but it is to programming what riding a tricycle is to riding a motorcycle. It holds your hand so much and hides away complex systems (like what classes are and how to use them) that saying "I made a game in scratch" is about as useful to making a Minecraft mod is by saying "I wrote a book about Minecraft." Second Life's scripting language similarly hides away those kinds of details (not due to making it easy-to-use, like Scratch, but rather due to the technical specifications of how Linden Labs wanted to insure that any code being executed on any object could be paused, serialized, and deserialized, and restarted at any point in its execution, including in the middle of a command), and thus, also rather useless. The fact that some (very smart) people have done very impressive things with LSL doesn't mean that because you know LSL you can write Java. That'd be like me saying that I've published a best selling novel in English, so next I'll try Chinese.- getBlock returns wrong type
If you don't recognize a thing, you probably did something wrong. In this case, figure out why "jdk.nashorn" is being referenced.- [1.13.2] how to create item
https://en.m.wikipedia.org/wiki/Cargo_cult_programming Doing things because someone else said "just do this, it works for me!" is not how programming works.- How do i make a block colorable exactly like the leather-armour?
Yes. But I won't tell you what, because you need to learn how to figure stuff out for yourself.- How do i make a block with a model, that it two blocks high?
The door is two blocks, the top half still exists as a separate block with code that causes the two halves to function as desired. It is entirely possible to use world edit to place only the top, or only the bottom, half. The same goes for the bed, cactus, reeds, and other such blocks. The reason for this has to do with things like pathfinding. Remember how animals used to perpetually try and jump over fences? That was caused by fences breaking the 1x1x1 boundary rule and the AI not having been updated to account for it.- [1.12.2] ItemStack question
You also can't do anything about inventories that aren't loaded.- [1.12.2] Searching for update method of TileEntity
There isn't one. It is defined by the ITickable interface.- Where can I find the JavaDocs for the forge API?
Um....let me just look up-thread a bit. Hmm. - Is it fine to give specific people using my mod capes?
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.