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
53b75e3
commit eec0a0e
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
src/main/java/mod/chiselsandbits/api/EventBlockBitPostModification.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,32 @@ | ||
package mod.chiselsandbits.api; | ||
|
||
import net.minecraft.util.math.BlockPos; | ||
import net.minecraft.world.World; | ||
import net.minecraftforge.fml.common.eventhandler.Event; | ||
|
||
public class EventBlockBitPostModification extends Event | ||
{ | ||
|
||
private final World w; | ||
private final BlockPos pos; | ||
|
||
public EventBlockBitPostModification( | ||
final World w, | ||
final BlockPos pos ) | ||
{ | ||
|
||
this.w = w; | ||
this.pos = pos; | ||
} | ||
|
||
public World getWorld() | ||
{ | ||
return w; | ||
} | ||
|
||
public BlockPos getPos() | ||
{ | ||
return pos; | ||
} | ||
|
||
} |
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