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


  • Posts

  • Joined

  • Last visited

Everything posted by furiusmax55

  1. I have fixed the problem now the fluids work as they should
  2. I have restarted my ide and I already see the problem I reinstall forge and upload it to github again
  3. There are some classes that are not covered to 1.17 yet but they are not active and you can play without problem. If thats not the issue, I don't know how I can make it work
  4. https://github.com/furiusmax55/arkane/tree/main/src/main/java/furiusmax im using github desktop
  5. https://github.com/furiusmax55/ArkaneMagicka/tree/main/src/main/java/furiusmax
  6. I have found the line that returns null. BlockState blockstate1 = blockstate.updateShape(direction.getOpposite(), this.asState(), p_60706_, blockpos$mutableblockpos, p_60707_);
  7. I have never debugged , I have the breakpoin what should I do now?
  8. log using vanilla class with the not deprecated constructor
  9. If I use that, an error arises when putting the liquid on the ground
  10. in the other thread a user said that to fix extends vanilla LiquidBlock and copy the code then replace fluid with the method getFluid ()
  11. And the vanilla LiquidBlock [removed vanilla code - diesieben07]
  12. public static final RegistryObject<CustomLiquidBlock> PURIFIEDWATERBLOCK = BLOCKS .register("purified_water", () -> new CustomLiquidBlock(ModFluids.PURIFIEDWATER, BlockBehaviour.Properties.of(Material.WATER).noCollission().strength(100.0F).noDrops())); public static final RegistryObject<FlowingFluid> PURIFIEDWATER = FLUIDS .register("purified_water", () -> new FluidPurifiedWater.Source(FluidPurifiedWater.PURIFIED_WATER_PROPS)); public static final RegistryObject<FlowingFluid> PURIFIEDWATER_FLOW = FLUIDS .register("purified_water_flow", () -> new FluidPurifiedWater.Flowing(FluidPurifiedWater.PURIFIED_WATER_PROPS)); crash log When I put the fluid with its bucket the game crashes giving that error. The LiquidBlock class constructor is broken and I had to create CustomLiquidBlock to fix it by changing this.fluid to getFluid(). Thanks in advance.
  13. comes from the same problem but now that error happens a previous log with the error
  14. Hello, I have the same problem, I have created a custom class with the LiquidBlock vanilla code and now I am getting another error when placing the fluid. Thanks in advance.
  15. I have an aggressive mob that when it chases the player spin and then continues to follow the player. entity class public class EntityHound extends MonsterEntity implements IAnimatable { private AnimationFactory factory = new AnimationFactory(this); public EntityHound(EntityType<? extends MonsterEntity> type, World worldIn) { super(type, worldIn); this.ignoreFrustumCheck = true; } private <E extends IAnimatable> PlayState predicate(AnimationEvent<E> event) { event.getController().setAnimation(new AnimationBuilder().addAnimation("idle", true)); return PlayState.CONTINUE; } @Override public void registerControllers(AnimationData data) { data.addAnimationController(new AnimationController(this, "controller", 0, this::predicate)); } @Override public AnimationFactory getFactory() { return this.factory; } @Override protected void registerGoals() { this.goalSelector.addGoal(1, new SwimGoal(this)); this.goalSelector.addGoal(2, new MeleeAttackGoal(this, 0.8D, true)); this.goalSelector.addGoal(3, new LookAtGoal(this, PlayerEntity.class, 15.0F)); this.goalSelector.addGoal(4, new WaterAvoidingRandomWalkingGoal(this, 0.8D)); this.targetSelector.addGoal(1, new HurtByTargetGoal(this)); this.targetSelector.addGoal(2, new NearestAttackableTargetGoal<>(this, PlayerEntity.class, true)); this.targetSelector.addGoal(3, new NearestAttackableTargetGoal<>(this, IronGolemEntity.class, true)); } public static AttributeModifierMap.MutableAttribute func_234200_m_() { return MobEntity.func_233666_p_().createMutableAttribute(Attributes.MAX_HEALTH, 20.0D).createMutableAttribute(Attributes.MOVEMENT_SPEED, (double)0.23F).createMutableAttribute(Attributes.ATTACK_DAMAGE, 1.0D).createMutableAttribute(Attributes.FOLLOW_RANGE, 25.0D); } }
  • Create New...

Important Information

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