Everything posted by Draco18s
-
@SidedProxy is dissalowed for this location
Try using your brain next time. And your awesome skills you have with Java. (Hint hint: learn Java first)
-
@SidedProxy is dissalowed for this location
Because this: public static CommonProxy.proxy; Is not a proper field declaration. public - good static - good CompnProxy.proxy - static reference to a field in another class, BAD
-
Add ticking to vanilla chest
Similarly the creative menu will bypass it.
-
Textures not working?
The error you posted is an error you will only get in dev, because it's Mojang saying that your account profile (and therefore, skin) doesn't exist. It has nothing to do with textures.
-
Problem Creating a Gui Handler
Yes. You're just doing it wrong.
-
[1.11.2] Multipart Item Model
If it's in /blockstates it's a blockstate file and follows the blockstate format. That's where multipart goes. If it's in /models it's a model file and follows the item model format. These are the "parts" that the multipart refers to.
-
[1.10.2] (Texture) Block Rotation [SOLVED]
For meta/state conversion, here's an example. https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/block/BlockMillstone.java#L53-L61 Note that I'm using a custom enum property in place of BlockDirectional.FACING for my specific purpose. Two-property example https://github.com/Draco18s/ReasonableRealism/blob/master/src/main/java/com/draco18s/ores/block/BlockAxel.java#L65-L77
-
Item Textures not appearing
Using an old 1.10 tutorial. The code I gave you works in 1.10.2 just fine.
-
Problem Creating a Gui Handler
Huh, well. Ok then.
-
Item Textures not appearing
That is not relevant. ======================= On this line: https://github.com/geekman9097/Logisticraft/blob/master/src/main/java/geekman9097/logisticraft/init/ModItems.java#L42 Don't reconstruct the model resource location like that. ModelResourceLocation res = new ModelResourceLocation(item.getRegistryName(), variant); is more than sufficient.
-
Problem Creating a Gui Handler
FFS
-
Interacting with mob
Sheep's onInteract isn't even used. Forge patches some code to use the IShearable interface instead. I just knew that the method I wanted to find was in the Sheep class. And don't just do stuff because something else did it. Look at what the code is actually doing.
-
Problem Creating a Gui Handler
java.lang.NullPointerException at com.clowcadia.mob.Blank.processInteract(Blank.java:20) ~[Blank.class:?] world is null because you never assign anything to it: World world; You shouldn't even have this field as Entity already has a world object field, it's (unsurprisingly) called worldObj .
-
Textures not working?
Also don't use GameRegistry.register(Item, ResourceLocation). Use item.setRegistryName() and GameRegistry.register(Item). Also set your unlocalized names to include your mod ID, like this: item.setUnlocalizedName(item.getRegistryName()).
-
Interacting with mob
No. Wrong. Not at all. Completely false.
-
Interacting with mob
http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1291999-unique-artifacts-powerful-randomly-generated-items https://github.com/Draco18s/Artifacts/ http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2451299-reasonable-realism-its-a-pack-its-a-mod-it-makes https://github.com/Draco18s/ReasonableRealism http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/2378743-micromod-extendable-ladders Didn't search very hard, did you? I link to my github all the time here. Searching my user name on curse or Minecraft Forums should bring up my threads.
-
Interacting with mob
Good. Because I am a god damn wizard.
-
Interacting with mob
Me: *Open Eclipse* Me: *Find EntitySheep* Me: *Search for "shears"* Me: *Find a method called processInteract* You: LOL, THE ASSKICKING Yes.
-
Interacting with mob
You know processInteract is an entity method you override, not an event, right? And that it has three paramters, right?
-
Inventory Click
Yes. How will vary by event. usually something like event.getEntity() or event.getPlayer().
-
Textures not working?
See my post just above yours.
-
Textures not working?
"layer0": "parallelworlds:items/nightgem" Magic
-
1.11.2 Custom Furnace
No. Do not extend BlockContainer.
-
ICommand not recognizing when on server
...yes...
-
[1.11] Using normal variant despite different blockstate
A custom state mapper would do it.
IPS spam blocked by CleanTalk.