Everything posted by Draco18s
-
[1.10]Spawn a rotated cube particle
Also, don't use Object. I put " Object " because I don't know the correct type (nor do I care). You're supposed to change it to match what you're doing.
-
[1.10]Spawn a rotated cube particle
For fuck's sake. Object o = it.next(); Stop calling .getClass() on everything.
-
Multi-texture blocks that can be placed in different rotations [1.8.9]
To do this, it must be its own class.
-
Multi-texture blocks that can be placed in different rotations [1.8.9]
Because the furnace never faces its front side towards a wall. isFullBlock() returns true if the block...is a full...block, as in, fills 100% of its volume.
-
Cannot load Item texture 1.10.2
You have this line: _Items.registerRenders(); That should not be there and whatever it's calling should be removed. Also, I really hate this FML event forwarding practice. Here's my client proxy: https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/client/ClientProxy.java
-
Cannot load Item texture 1.10.2
Ok, thre things: 1) Don't use Minecraft.getMinecraft().getRenderItem().getItemModelMesher() , use ModelLoader.setCustomModelResourceLocation 2) Don't call this line in common code, it MUST be in your ClientProxy 3) Don't use that version of GameRegistry.register , you may have noticed it has a fucking line through it because it's marked as deprecated. You should call item.setRegistryName(name) and pass the item (and only the item) to register
-
Error: Received status code 403 from server: Forbidden
1.7.10 is no longer supported. Update.
-
What am I supposed to name my texture files?
There should be a message in the console if an image file or json file is not located. Please post that.
-
Generate Custom Flower like Block
Dude, seriously. The first line is the most important one: it tells us/you what the error is. The second line is the second most important: it tells us/you where the error is. We need both.
-
Cannot load Item texture 1.10.2
Your blockstate file doesn't contain an inventory variant.
-
[1.10.2] How to make a custom ISound?
Most of the methods are pretty self explanatory.
-
[1.8] Help creating Custom Commands
Why is it so difficult to convey things to you . I meant the corrected version of MY code. I have no idea how to put that into my code. It would save a lot of time if I could just have it fixed and then try to understand from that. No one is going to provide you code that you can copy and paste. You have top actually know what you're doing. You apparently missed the "this is not Java school" on the board description. Good news: that info is also in my sig.
-
[1.8.9]How send a Custom Packet on join server
PlayerLoggedIn
-
[1.10.2] Random Texture
Actually, you can. Pick a random texture based on xyz coordinates. You'd have to reencode this as a non-saving property, but: https://github.com/Draco18s/HarderStuff/blob/master/src/main/java/com/draco18s/hazards/block/BlockUnstableStone.java#L173-180 That code is for more than 4 textures, but I worked out a really good distribution so it is very hard to notice any repeating patterns.
-
How Do I Change My Personal Text? (ok, I got it)
You can lock the thread, that's fine. Also, don't use glow in your posts, please. It makes things hard to read.
-
[1.10.2] Using PropertyEnum in a forge BlockState file?
You need an example of the json? https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/resources/assets/harderores/blockstates/axel.json
-
Enchanting item on craft [1.8][11.15.1.1722]
Make the itemstack have the enchantment when you pass it to the crafting recipe.
-
[Solved] [1.9.4] Block Not Rendering?
Egietje is dumb. "Blockstate" and "model" aren't related. You need a blockstate file AND a model file.
-
(1.10.2) What does on impact netherrack look like for a projectile?
But magic doesn't shot from a dispenser. private BlockPos blockpos; //class field ... BlockPos blockpos = new BlockPos(this.xTile, this.yTile, this.zTile); //local variable Google "local scope"
-
[1.10.2] Constantly Update GUI
You are obviously doing something wrong, but without any code we cannot help you.
-
block render registry
[Tt]prefixName + suffixNam[/code] suffixName is an array, this isn't doing what you think is doing. That's why the old name ends in "[Ljava.lang.String;@64b7066e"
-
block render registry
Or rather, anytime as early as the constructor to just before registering.
-
[1.10]Spawn a rotated cube particle
In standard nomenclature, the "I" denotes an interface.
-
block render registry
Did you register an item for your block?
-
[1.10] Weird collision box and pick-block behavior
You're trying to get the item representation of the block in the world. The block in the world is passed to the method. There's your simple solution.
IPS spam blocked by CleanTalk.