Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About eggpasta

  • Rank
    Creeper Killer

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have a custom biome but when i use /locatebiome on it i get an no biome located withing reasonable distance is have: public class CustomBiome { public static final void registerBiomes() { Logger LOGGER = LogManager.getLogger(); BiomeManager.addAdditionalOverworldBiomes(RegistryKey.create(Registry.BIOME_REGISTRY, new ResourceLocation(Main.MODID,"test_biome"))); ResourceLocation biome = new ResourceLocation(Main.MODID,"test_biome"); LOGGER.info(biome.getPath()); } } public class ModBiomes { public static void init() { BIOMES.register(FMLJavaModLoadingContext.get().get
  2. https://bleepcoder.com/minecraftforge/771739836/apple-silicon-mac-glfw-error-on-startup
  3. And the issue? Also as far as i know aternos does not support forge.
  4. Thanks, after changing some stuff, it now works
  5. The method has probably been remapped to something else
  6. https://gist.github.com/williewillus/c8dc2a1e7963b57ef436c699f25a710d
  7. MinecraftForge.EVENT_BUS.register(CapabilityProviderEntities.class); Its supposed to provide the Size capability, should i just change it to SizeCapability?
  8. I had a class i forgot to show public class CustomSizeAddEvent { @SubscribeEvent public static void attachSizeToEntityHandler(AttachCapabilitiesEvent<Entity> event) { Entity entity = event.getObject(); if(entity instanceof LivingEntity) { event.addCapability(new ResourceLocation(Main.MODID,"size_capability"), new CapabilityProviderEntities()); } } }
  9. How do i attach the capability?
  10. Ok so i have a capability with the following code but when i try to use it i get an error public class SizeCapability { @CapabilityInject(Size.class) public static Capability<Size> CAPABILITY_SIZE = null; public static void register() { CapabilityManager.INSTANCE.register(Size.class,new Size.SizeNBTStorage(),Size::createADefaultInstance); } } public class Size { public Size() { this(2); } public Size(int initialsizelevel) { sizeLevel = initialsizelevel; } public void setSizeLevel(int sizeLevelToSet) {sizeLevel = sizeLevelToSet;} private int sizeLevel; public int g
  11. Hmm ok well it's a start. so we can know if the method is triggering, add System.out.println("Triggered") Under the fire code and then run the code and check the logs for Tr
  12. remove event.getEntity() from it and change it to p_77644_3_ and also as @poopoodice said , move the fire code out of the lambda like so p_77644_1_.hurtAndBreak(1, p_77644_3_, (p_220045_0_) -> { p_220045_0_.broadcastBreakEvent(EquipmentSlotType.MAINHAND); }); p_77644_3_.setSecondsOnFire(10);
  13. You have an extra unnecessary bracket after p_22045_0_ also you still dont need the the check if it's embercleave because the method can only fire if it's embercleave so remove the check
  14. For the iteminit error get rid of () -> so it's just FlamingSword::new and for p_220045_0_ it's whatever you put here p_77644_1_.hurtAndBreak(1, p_77644_3_, (p_220045_0_) -> { so check you dont have any typos
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.