-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cd12f96
commit cd57a79
Showing
322 changed files
with
3,887 additions
and
1,334 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/main/java/net/dakotapride/garnished/block/DragonStoneBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package net.dakotapride.garnished.block; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.util.RandomSource; | ||
import net.minecraft.world.entity.Entity; | ||
import net.minecraft.world.level.Level; | ||
import net.minecraft.world.level.block.Block; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
|
||
public class DragonStoneBlock extends Block { | ||
public DragonStoneBlock(Properties properties) { | ||
super(properties); | ||
} | ||
|
||
@Override | ||
public void animateTick(@NotNull BlockState state, @NotNull Level level, @NotNull BlockPos pos, @NotNull RandomSource random) { | ||
SpecialEffectsBlock.Wyvern.getParticles(state, level, pos, random); | ||
} | ||
|
||
@Override | ||
public void stepOn(@NotNull Level level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull Entity entity) { | ||
SpecialEffectsBlock.Wyvern.getEffects(level, pos, state, entity); | ||
|
||
super.stepOn(level, pos, state, entity); | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/main/java/net/dakotapride/garnished/block/DragonStoneSlabBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package net.dakotapride.garnished.block; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.util.RandomSource; | ||
import net.minecraft.world.entity.Entity; | ||
import net.minecraft.world.level.Level; | ||
import net.minecraft.world.level.block.SlabBlock; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
|
||
public class DragonStoneSlabBlock extends SlabBlock { | ||
public DragonStoneSlabBlock(Properties properties) { | ||
super(properties); | ||
} | ||
|
||
@Override | ||
public void animateTick(@NotNull BlockState state, @NotNull Level level, @NotNull BlockPos pos, @NotNull RandomSource random) { | ||
SpecialEffectsBlock.Wyvern.getParticles(state, level, pos, random); | ||
} | ||
|
||
@Override | ||
public void stepOn(@NotNull Level level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull Entity entity) { | ||
SpecialEffectsBlock.Wyvern.getEffects(level, pos, state, entity); | ||
|
||
super.stepOn(level, pos, state, entity); | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/net/dakotapride/garnished/block/DragonStoneStairsBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,29 @@ | ||
package net.dakotapride.garnished.block; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import net.dakotapride.garnished.registry.GarnishedBlocks; | ||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.util.RandomSource; | ||
import net.minecraft.world.entity.Entity; | ||
import net.minecraft.world.level.Level; | ||
import net.minecraft.world.level.block.StairBlock; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
|
||
public class DragonStoneStairsBlock extends StairBlock { | ||
public DragonStoneStairsBlock(Properties properties) { | ||
super(GarnishedBlocks.DRAGON_STONE.get().defaultBlockState(), properties); | ||
} | ||
|
||
@Override | ||
public void animateTick(@NotNull BlockState state, @NotNull Level level, @NotNull BlockPos pos, @NotNull RandomSource random) { | ||
SpecialEffectsBlock.Wyvern.getParticles(state, level, pos, random); | ||
} | ||
|
||
@Override | ||
public void stepOn(@NotNull Level level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull Entity entity) { | ||
SpecialEffectsBlock.Wyvern.getEffects(level, pos, state, entity); | ||
|
||
super.stepOn(level, pos, state, entity); | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
src/main/java/net/dakotapride/garnished/block/DragonStoneWallBlock.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
package net.dakotapride.garnished.block; | ||
|
||
import org.jetbrains.annotations.NotNull; | ||
|
||
import net.minecraft.core.BlockPos; | ||
import net.minecraft.util.RandomSource; | ||
import net.minecraft.world.entity.Entity; | ||
import net.minecraft.world.level.Level; | ||
import net.minecraft.world.level.block.WallBlock; | ||
import net.minecraft.world.level.block.state.BlockState; | ||
|
||
public class DragonStoneWallBlock extends WallBlock { | ||
public DragonStoneWallBlock(Properties properties) { | ||
super(properties); | ||
} | ||
|
||
@Override | ||
public void animateTick(@NotNull BlockState state, @NotNull Level level, @NotNull BlockPos pos, @NotNull RandomSource random) { | ||
SpecialEffectsBlock.Wyvern.getParticles(state, level, pos, random); | ||
} | ||
|
||
@Override | ||
public void stepOn(@NotNull Level level, @NotNull BlockPos pos, @NotNull BlockState state, @NotNull Entity entity) { | ||
SpecialEffectsBlock.Wyvern.getEffects(level, pos, state, entity); | ||
|
||
super.stepOn(level, pos, state, entity); | ||
} | ||
} |
Oops, something went wrong.