-
Notifications
You must be signed in to change notification settings - Fork 5
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
Showing
5 changed files
with
33 additions
and
40 deletions.
There are no files selected for viewing
9 changes: 1 addition & 8 deletions
9
src/main/java/me/thef1xer/gateclient/events/CheckBlockInChunkEvent.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,23 +1,16 @@ | ||
package me.thef1xer.gateclient.events; | ||
|
||
import net.minecraft.util.math.BlockPos; | ||
import net.minecraft.world.chunk.Chunk; | ||
import net.minecraftforge.fml.common.eventhandler.Event; | ||
|
||
public class CheckBlockInChunkEvent extends Event { | ||
private final BlockPos blockPos; | ||
private final Chunk chunk; | ||
|
||
public CheckBlockInChunkEvent(BlockPos blockPos, Chunk chunk) { | ||
public CheckBlockInChunkEvent(BlockPos blockPos) { | ||
this.blockPos = blockPos; | ||
this.chunk = chunk; | ||
} | ||
|
||
public BlockPos getBlockPos() { | ||
return blockPos; | ||
} | ||
|
||
public Chunk getChunk() { | ||
return chunk; | ||
} | ||
} |
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
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