Jump to content

Search the Community

Showing results for tags 'fluids'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Minecraft Forge
    • Releases
    • Support & Bug Reports
    • Suggestions
    • General Discussion
  • Mod Developer Central
    • Modder Support
    • User Submitted Tutorials
  • Non-Forge
    • Site News (non-forge)
    • Minecraft General
    • Off-topic
  • Forge Mods
    • Mods

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


XMPP/GTalk


Gender


URL


Location


ICQ


AIM


Yahoo IM


MSN Messenger


Personal Text

Found 2 results

  1. I am trying to spawn fluid, but Intellij says " Cannot resolve method 'setBlock(BlockPos, RegistryObject<LiquidBlock>)' " package net.svisvi.jigsawpp.effect; import net.minecraft.core.BlockPos; import net.minecraft.world.effect.MobEffect; import net.minecraft.world.effect.MobEffectCategory; import net.minecraft.world.entity.LivingEntity; import net.minecraft.world.level.Level; import static net.svisvi.jigsawpp.init.JigsawPpModBlocks.PONOS_WATER_BLOCK; public class purgenEffect extends MobEffect { public purgenEffect(MobEffectCategory mobEffectCategory, int color) { super(mobEffectCategory, color); } public void applyEffectTick(LivingEntity pLivingEntity, Level worldin, BlockPos pos) { if (pLivingEntity.level().isClientSide()) { worldin.setBlock(pos, PONOS_WATER_BLOCK); } } }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.