Everything posted by Draco18s
-
(1.16.1) How to add another texture layer to chestplate
Obviously. The method expects something to be returned. It even tells you what it expects. And you're not giving it that thing.
-
(1.16.1) How to add another texture layer to chestplate
...something that isn't null!? Nothing, its just completely useless redundant code that makes it clear that you have no idea what the fuck you're doing.
-
Is it possible to create a mod that allows players to make their own dimensions in game?
Yes.
-
How to check if player is in a biome of a specific type?
Touche.
-
[1.16.1] How to get Player Helmet for event?
The isEmpty is unnecessary if you're going to compare the item to something. If it is empty, the item returned by getItem is AIR, which is definitely not ITEM_NAME
-
1.15.2 How to create a block that replaces itself with another block when broken?
https://github.com/Draco18s/ReasonableRealism/blob/1.14.4/src/main/java/com/draco18s/harderores/block/ore/HardOreBlock.java#L115
-
1.16.1 ITextComponent implementations
Right click -> Open type hierarchy or F4 in Eclipse.
-
1.15.2 Texture Not Showing Up
TL;DR: learn how to (find and) read the errors the game gives you.
-
Problem with forge 1.16.2
This: And this: Do essentially the same thing. Except that the former adds the methods to the Mod Event Bus and the latter to the Forge Event Bus and the two event methods you have aren't annotated with @SubscribeEvent, so the latter actually doesn't do anything at all. Your mod ID is tutorial. So why are you setting up dependencies for examplemod?
-
Problem with forge 1.16.2
Show your code.
-
1.15.2 Texture Not Showing Up
Yeah, you didn't post the whole thing. The part you posted is too late.
-
1.15.2 Texture Not Showing Up
Post your log.
-
1.15.2 Texture Not Showing Up
Your json tells the game to look in "grub:block/example_block" https://github.com/YellowRubberDucky111/1.15.2-Grub/blob/master/src/main/resources/assets/grub/blockstates/example_block.json#L3 Your texture is located at "grub:blocks/example_block" https://github.com/YellowRubberDucky111/1.15.2-Grub/blob/master/src/main/resources/assets/grub/textures/blocks/example_block.png
-
[1.16.1] Pass in Voxel Shape
...then do it in the constructor? Your Shapes field isn't static, but defined in the constructor, so do the same with your age property.
-
[1.15.2] Setting setSprinting to false still allows sprint jumping
My guess is that jumping doesn't check for "if the player is sprinting" but rather "if the player is holding the sprint button down." You'd have to dig into the vanilla code.
-
How to check if player is in a biome of a specific type?
That's literally what the error says: Its telling you that on one side you have an object of Type "Biome" and on the other you have an object of Type "RegistryKey<Biome>" and that neither one overloads the == operator to make the comparison possible.
-
How to check if player is in a biome of a specific type?
One of those things is a Biome, the other is a RegistryKey object that you need to get a Biome from.
-
[1.16.2] Trying to test mod from IntelliJ but it gets stuck on atlas stitching blocks
- what does this mean p_199746_0_
That is a SRG named variable. In this case, it appears to be a parameter of a method. The "human readable" names you're accustomed to are created by hand, one at a time, by the community; formerly via MCPBot ("MCP names") but will be handled in the near future by MMMS (Mod Mapping Management System).- Item DeferredRegister Issue
- Issue with removing a mod from existing save
No, no it does not. As evidenced by the crash log: Whatever the salt rock block is, from the Pines Food Mod, it does not have an EAST property, and something (apparently a vine block*) is trying to set it. It may not be possible for you to fix this. *My guess is that a vine thinks that a neighbor should also be vines, due to its own state, but its neighbor is not actually vines. This is an unfortunate unchecked situation in vanilla.- [1.15.2] Custom Sapling is not Replaced by Log
My guess would be that the method that deals with sapling tree growth isn't replacing your sapling because it doesn't know your sapling is a sapling. Offhand that would make me think that you need to add your sapling to the sapling block tag.- Custom stats/data storage
- Item DeferredRegister Issue
Because when this line runs: Your BLOCKS contains no entries because block registration hasn't happened yet. Register your stuff properly.- [1.14.4] Fabric Event?
Fabric is not Forge, that's why. - what does this mean p_199746_0_
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.