
MineModder2000
Members-
Posts
298 -
Joined
-
Last visited
Everything posted by MineModder2000
-
(SOLVED) [1.14.4] Need help with Capabilities
MineModder2000 replied to MineModder2000's topic in Modder Support
I was aware of that value......I should've been clearer in my question, as I am confused as to why the getter method needs a parameter at all. Anyways how do I retrieve the "tick_last" data from the capability? -
(SOLVED) [1.14.4] Need help with Capabilities
MineModder2000 replied to MineModder2000's topic in Modder Support
But how? playerIn has getCapability that takes a parameter..... -
Need some help. Interface Factory Provider Storage @Mod Chert_Entity The commented out code in my entity class is what I was using before, but this meant that each stack had its own NBT data, and they couldn't be stacked together after one of them was "tossed". So I did the capability stuff that I followed here but I am trying to figure out how to work the logic, because right now they do not toss.
-
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
So this is what I get when I throw a spear : -
[1.14.4] Modifying Vanilla Content
MineModder2000 replied to MineModder2000's topic in Modder Support
Okay I am able to launch in Eclipse now. I have confirmed via println() that CheckSpawns and PotentialSpawns are both being called. @SubscribeEvent public void potentialSpawns(PotentialSpawns event) { System.out.println("pS801"); event.getList().add(new SpawnListEntry(EntityType.ZOMBIE_PIGMAN, 100, 3, 5)); } @SubscribeEvent public void checkSpawn(CheckSpawn event) { System.out.println("cS801"); event.setResult(Result.ALLOW); } So yeah I don't know what the issue is..... -
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
Sorry the double bump was an accident. -
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
Bump -
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
Bump -
(SOLVED) Launching modded Minecraft from within Eclipse
MineModder2000 replied to MineModder2000's topic in ForgeGradle
I love you, this worked. I've tried the clean command before, but not all 3 of these in this order. I already had updated my forge so I didn't redo that. But now I can finally debug and test quickly instead of having to use the launcher ? -
(SOLVED) Launching modded Minecraft from within Eclipse
MineModder2000 replied to MineModder2000's topic in ForgeGradle
https://imgur.com/ofAwMms -
(SOLVED) Launching modded Minecraft from within Eclipse
MineModder2000 replied to MineModder2000's topic in ForgeGradle
This I have done twice already... -
(SOLVED) Launching modded Minecraft from within Eclipse
MineModder2000 replied to MineModder2000's topic in ForgeGradle
Oh right, I forgot about this guy. -
(SOLVED) Launching modded Minecraft from within Eclipse
MineModder2000 replied to MineModder2000's topic in ForgeGradle
I see. What do you mean by provide my build.gradle, sorry. -
(SOLVED) Launching modded Minecraft from within Eclipse
MineModder2000 replied to MineModder2000's topic in ForgeGradle
I am familiar with this. The genEclipseRuns does work, but it only builds the data and server runs, no client run is generated... When I try the manual approach using "GradleStart" as the main class and with the username and password as parameters it just doesn't launch. -
(SOLVED) Launching modded Minecraft from within Eclipse
MineModder2000 replied to MineModder2000's topic in ForgeGradle
Yeah i've been searching for a solution all over, can't figure it out... -
[1.14.4] Modifying Vanilla Content
MineModder2000 replied to MineModder2000's topic in Modder Support
Anyway to make pigs swim faster? -
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
Okay I have this now, tried to replicate what I did with the throw-able entity, it's not appearing though : My_Mod Spear_Model Spear_Factory Spear_Renderer Spear_TEISR Spear Spear_Entity -
(SOLVED) Launching modded Minecraft from within Eclipse
MineModder2000 replied to MineModder2000's topic in ForgeGradle
Bump -
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
Won't toss. The last portion of code that I pasted : onAttachCapabilities -
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
I see, well I already had that block of code in before you previous comment, it's not working. -
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
I can't figure out what exactly goes in the string : @SubscribeEvent public static void onAttachCapabilities(AttachCapabilitiesEvent<Entity> event) { if (event.getObject() instanceof PlayerEntity) { event.addCapability(new ResourceLocation("My_Mod", "tick_last"), new TickDataProvider()); } } -
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
Followed tutorials and threads that I found around and got this : Interface Factory Provider Storage Chert My_Mod Wondering if the Chert part is right, as they aren't chucking right now.... -
[1.14.4] Making a Trident like item
MineModder2000 replied to MineModder2000's topic in Modder Support
Success! Can't wait to try this with the spear. I'm still having some quirks though : If I throw a chert from a stack and then collect more, it'll make a new stack even when there is room (> 64), that stack becomes unstackable. Occasionally, a chert won't chuck, expending one anyways. -
[1.14.4] Modifying Vanilla Content
MineModder2000 replied to MineModder2000's topic in Modder Support
Whoops I see it now. I gave it 4 initially, then 99 but that didn't help...... oh wait it's suppose to be a smaller number doh! Working now. -
[1.14.4] Modifying Vanilla Content
MineModder2000 replied to MineModder2000's topic in Modder Support
Okay got an issue, I have the pigs running away via the AvoidEntityGoal when I get too close, however they don't do it the way rabbits do, they occasionally stroll here and there instead of running which makes it too easy to hunt them. It might have to do with interference from their other behavior... Also in the following : AvoidEntityGoal<>(this, PlayerEntity.class, 8.0F, 2.2D, 2.2D)); What do the last two number represent? I know the first one is the distance that triggers them to run.