Modifier and Type | Field and Description |
---|---|
private Rotation |
EditStructureScreen.rotation |
Modifier and Type | Method and Description |
---|---|
float |
Entity.getRotatedYaw(Rotation transformRotation) |
Modifier and Type | Method and Description |
---|---|
float |
HangingEntity.getRotatedYaw(Rotation transformRotation) |
Modifier and Type | Field and Description |
---|---|
private Rotation |
CUpdateStructureBlockPacket.rotation |
Modifier and Type | Method and Description |
---|---|
Rotation |
CUpdateStructureBlockPacket.getRotation() |
Constructor and Description |
---|
CUpdateStructureBlockPacket(BlockPos p_i49541_1_,
StructureBlockTileEntity.UpdateCommand p_i49541_2_,
StructureMode p_i49541_3_,
java.lang.String p_i49541_4_,
BlockPos p_i49541_5_,
BlockPos p_i49541_6_,
Mirror p_i49541_7_,
Rotation p_i49541_8_,
java.lang.String p_i49541_9_,
boolean p_i49541_10_,
boolean p_i49541_11_,
boolean p_i49541_12_,
float p_i49541_13_,
long p_i49541_14_) |
Modifier and Type | Field and Description |
---|---|
private Rotation |
StructureBlockTileEntity.rotation |
Modifier and Type | Method and Description |
---|---|
Rotation |
StructureBlockTileEntity.getRotation() |
Modifier and Type | Method and Description |
---|---|
void |
TileEntity.rotate(Rotation rotationIn) |
void |
StructureBlockTileEntity.setRotation(Rotation rotationIn) |
Modifier and Type | Method and Description |
---|---|
Rotation |
Rotation.add(Rotation rotation) |
static Rotation |
Rotation.randomRotation(java.util.Random rand) |
Rotation |
Mirror.toRotation(Direction facing) |
static Rotation |
Rotation.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Rotation[] |
Rotation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Rotation> |
Rotation.shuffledRotations(java.util.Random rand) |
Modifier and Type | Method and Description |
---|---|
Rotation |
Rotation.add(Rotation rotation) |
Modifier and Type | Method and Description |
---|---|
BlockPos |
BlockPos.rotate(Rotation rotationIn) |
BlockPos |
BlockPos.Mutable.rotate(Rotation rotationIn) |
Modifier and Type | Method and Description |
---|---|
AbstractVillagePiece |
JigsawManager.IPieceFactory.create(TemplateManager p_create_1_,
JigsawPiece p_create_2_,
BlockPos p_create_3_,
int p_create_4_,
Rotation p_create_5_,
MutableBoundingBox p_create_6_) |
protected PlacementSettings |
SingleJigsawPiece.createPlacementSettings(Rotation rotationIn,
MutableBoundingBox boundsIn) |
MutableBoundingBox |
EmptyJigsawPiece.getBoundingBox(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn) |
MutableBoundingBox |
ListJigsawPiece.getBoundingBox(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn) |
abstract MutableBoundingBox |
JigsawPiece.getBoundingBox(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn) |
MutableBoundingBox |
SingleJigsawPiece.getBoundingBox(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn) |
MutableBoundingBox |
FeatureJigsawPiece.getBoundingBox(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn) |
java.util.List<Template.BlockInfo> |
SingleJigsawPiece.getDataMarkers(TemplateManager p_214857_1_,
BlockPos p_214857_2_,
Rotation p_214857_3_,
boolean p_214857_4_) |
java.util.List<Template.BlockInfo> |
EmptyJigsawPiece.getJigsawBlocks(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn,
java.util.Random rand) |
java.util.List<Template.BlockInfo> |
ListJigsawPiece.getJigsawBlocks(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn,
java.util.Random rand) |
abstract java.util.List<Template.BlockInfo> |
JigsawPiece.getJigsawBlocks(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn,
java.util.Random rand) |
java.util.List<Template.BlockInfo> |
SingleJigsawPiece.getJigsawBlocks(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn,
java.util.Random rand) |
java.util.List<Template.BlockInfo> |
FeatureJigsawPiece.getJigsawBlocks(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn,
java.util.Random rand) |
BlockPos |
FeatureJigsawPiece.getSize(TemplateManager p_214868_1_,
Rotation p_214868_2_) |
void |
JigsawPiece.handleDataMarker(IWorld worldIn,
Template.BlockInfo p_214846_2_,
BlockPos pos,
Rotation rotationIn,
java.util.Random rand,
MutableBoundingBox p_214846_6_) |
boolean |
EmptyJigsawPiece.place(TemplateManager p_225575_1_,
IWorld p_225575_2_,
ChunkGenerator<?> p_225575_3_,
BlockPos p_225575_4_,
Rotation p_225575_5_,
MutableBoundingBox p_225575_6_,
java.util.Random p_225575_7_) |
boolean |
ListJigsawPiece.place(TemplateManager p_225575_1_,
IWorld p_225575_2_,
ChunkGenerator<?> p_225575_3_,
BlockPos p_225575_4_,
Rotation p_225575_5_,
MutableBoundingBox p_225575_6_,
java.util.Random p_225575_7_) |
abstract boolean |
JigsawPiece.place(TemplateManager p_225575_1_,
IWorld p_225575_2_,
ChunkGenerator<?> p_225575_3_,
BlockPos p_225575_4_,
Rotation p_225575_5_,
MutableBoundingBox p_225575_6_,
java.util.Random p_225575_7_) |
boolean |
SingleJigsawPiece.place(TemplateManager p_225575_1_,
IWorld p_225575_2_,
ChunkGenerator<?> p_225575_3_,
BlockPos p_225575_4_,
Rotation p_225575_5_,
MutableBoundingBox p_225575_6_,
java.util.Random p_225575_7_) |
boolean |
FeatureJigsawPiece.place(TemplateManager p_225575_1_,
IWorld p_225575_2_,
ChunkGenerator<?> p_225575_3_,
BlockPos p_225575_4_,
Rotation p_225575_5_,
MutableBoundingBox p_225575_6_,
java.util.Random p_225575_7_) |
Modifier and Type | Field and Description |
---|---|
private Rotation |
IglooPieces.Piece.field_207616_e |
protected Rotation |
AbstractVillagePiece.rotation |
private Rotation |
WoodlandMansionPieces.MansionTemplate.rotation |
Rotation |
WoodlandMansionPieces.PlacementData.rotation |
private Rotation |
OceanRuinPieces.Piece.rotation |
private Rotation |
StructurePiece.rotation |
private Rotation |
EndCityPieces.CityTemplate.rotation |
private Rotation |
ShipwreckPieces.Piece.rotation |
Modifier and Type | Field and Description |
---|---|
private static java.util.List<Tuple<Rotation,BlockPos>> |
EndCityPieces.FAT_TOWER_BRIDGES |
private static java.util.List<Tuple<Rotation,BlockPos>> |
EndCityPieces.TOWER_BRIDGES |
Modifier and Type | Method and Description |
---|---|
Rotation |
TemplateStructurePiece.getRotation() |
Rotation |
AbstractVillagePiece.getRotation() |
Rotation |
StructurePiece.getRotation() |
Modifier and Type | Method and Description |
---|---|
private static EndCityPieces.CityTemplate |
EndCityPieces.addPiece(TemplateManager p_191090_0_,
EndCityPieces.CityTemplate p_191090_1_,
BlockPos p_191090_2_,
java.lang.String p_191090_3_,
Rotation p_191090_4_,
boolean owerwrite) |
private void |
WoodlandMansionPieces.Placer.addRoom1x1(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191129_1_,
BlockPos p_191129_2_,
Rotation p_191129_3_,
Direction p_191129_4_,
WoodlandMansionPieces.RoomCollection p_191129_5_) |
private void |
WoodlandMansionPieces.Placer.addRoom1x2(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191132_1_,
BlockPos p_191132_2_,
Rotation p_191132_3_,
Direction p_191132_4_,
Direction p_191132_5_,
WoodlandMansionPieces.RoomCollection p_191132_6_,
boolean p_191132_7_) |
private void |
WoodlandMansionPieces.Placer.addRoom2x2(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191127_1_,
BlockPos p_191127_2_,
Rotation p_191127_3_,
Direction p_191127_4_,
Direction p_191127_5_,
WoodlandMansionPieces.RoomCollection p_191127_6_) |
private void |
WoodlandMansionPieces.Placer.addRoom2x2Secret(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191128_1_,
BlockPos p_191128_2_,
Rotation p_191128_3_,
WoodlandMansionPieces.RoomCollection p_191128_4_) |
void |
WoodlandMansionPieces.Placer.createMansion(BlockPos p_191125_1_,
Rotation p_191125_2_,
java.util.List<WoodlandMansionPieces.MansionTemplate> p_191125_3_,
WoodlandMansionPieces.Grid p_191125_4_) |
private void |
WoodlandMansionPieces.Placer.createRoof(java.util.List<WoodlandMansionPieces.MansionTemplate> p_191123_1_,
BlockPos p_191123_2_,
Rotation p_191123_3_,
WoodlandMansionPieces.SimpleGrid p_191123_4_,
WoodlandMansionPieces.SimpleGrid p_191123_5_) |
static void |
OceanRuinPieces.func_204041_a(TemplateManager templateManagerIn,
BlockPos pos,
Rotation rotationIn,
java.util.List<StructurePiece> pieces,
java.util.Random rand,
OceanRuinConfig config) |
private static void |
OceanRuinPieces.func_204045_a(TemplateManager templateManagerIn,
BlockPos p_204045_1_,
Rotation p_204045_2_,
java.util.List<StructurePiece> pieces,
java.util.Random rand,
OceanRuinConfig config,
boolean shouldGenerateLargeVariant,
float p_204045_7_) |
private static void |
OceanRuinPieces.func_204047_a(TemplateManager p_204047_0_,
java.util.Random p_204047_1_,
Rotation p_204047_2_,
BlockPos p_204047_3_,
OceanRuinConfig p_204047_4_,
java.util.List<StructurePiece> p_204047_5_) |
static void |
ShipwreckPieces.func_204760_a(TemplateManager p_204760_0_,
BlockPos p_204760_1_,
Rotation p_204760_2_,
java.util.List<StructurePiece> p_204760_3_,
java.util.Random p_204760_4_,
ShipwreckConfig p_204760_5_) |
static void |
IglooPieces.func_207617_a(TemplateManager p_207617_0_,
BlockPos p_207617_1_,
Rotation p_207617_2_,
java.util.List<StructurePiece> p_207617_3_,
java.util.Random p_207617_4_,
NoFeatureConfig p_207617_5_) |
static void |
WoodlandMansionPieces.generateMansion(TemplateManager p_191152_0_,
BlockPos p_191152_1_,
Rotation p_191152_2_,
java.util.List<WoodlandMansionPieces.MansionTemplate> p_191152_3_,
java.util.Random p_191152_4_) |
static void |
EndCityPieces.startHouseTower(TemplateManager p_191087_0_,
BlockPos p_191087_1_,
Rotation p_191087_2_,
java.util.List<StructurePiece> p_191087_3_,
java.util.Random p_191087_4_) |
Constructor and Description |
---|
AbstractVillagePiece(IStructurePieceType structurePieceTypeIn,
TemplateManager templateManagerIn,
JigsawPiece jigsawPieceIn,
BlockPos posIn,
int groundLevelDelta,
Rotation rotation,
MutableBoundingBox p_i51346_7_) |
CityTemplate(TemplateManager p_i47214_1_,
java.lang.String p_i47214_2_,
BlockPos p_i47214_3_,
Rotation p_i47214_4_,
boolean overwriteIn) |
MansionTemplate(TemplateManager p_i47355_1_,
java.lang.String p_i47355_2_,
BlockPos p_i47355_3_,
Rotation p_i47355_4_) |
MansionTemplate(TemplateManager p_i47356_1_,
java.lang.String p_i47356_2_,
BlockPos p_i47356_3_,
Rotation p_i47356_4_,
Mirror p_i47356_5_) |
Piece(TemplateManager p_i48904_1_,
ResourceLocation p_i48904_2_,
BlockPos p_i48904_3_,
Rotation p_i48904_4_,
boolean p_i48904_5_) |
Piece(TemplateManager templateManagerIn,
ResourceLocation templateNameIn,
BlockPos templatePositionIn,
Rotation rotationIn,
float integrityIn,
OceanRuinStructure.Type typeIn,
boolean isLargeIn) |
Piece(TemplateManager p_i49313_1_,
ResourceLocation p_i49313_2_,
BlockPos p_i49313_3_,
Rotation p_i49313_4_,
int p_i49313_5_) |
PillageOutpost(TemplateManager templateManagerIn,
JigsawPiece jigsawPieceIn,
BlockPos posIn,
int p_i50560_4_,
Rotation rotationIn,
MutableBoundingBox boundsIn) |
Village(TemplateManager templateManagerIn,
JigsawPiece jigsawPieceIn,
BlockPos posIn,
int groundLevelDelta,
Rotation rotationIn,
MutableBoundingBox boundsIn) |
Modifier and Type | Field and Description |
---|---|
private Rotation |
PlacementSettings.rotation |
Modifier and Type | Method and Description |
---|---|
Rotation |
PlacementSettings.getRotation() |
Modifier and Type | Method and Description |
---|---|
private void |
Template.addEntitiesToWorld(IWorld worldIn,
BlockPos offsetPos,
Mirror mirrorIn,
Rotation rotationIn,
BlockPos centerOffset,
MutableBoundingBox boundsIn)
Deprecated.
|
private void |
Template.addEntitiesToWorld(IWorld worldIn,
BlockPos offsetPos,
PlacementSettings placementIn,
Mirror mirrorIn,
Rotation rotationIn,
BlockPos centerOffset,
MutableBoundingBox boundsIn) |
private void |
Template.func_215385_a(Rotation rotationIn,
int offsetFront,
int p_215385_3_,
MutableBoundingBox p_215385_4_,
Direction p_215385_5_,
Direction p_215385_6_) |
static BlockPos |
Template.getTransformedPos(BlockPos targetPos,
Mirror mirrorIn,
Rotation rotationIn,
BlockPos offset) |
private static Vec3d |
Template.getTransformedPos(Vec3d target,
Mirror mirrorIn,
Rotation rotationIn,
BlockPos centerOffset) |
BlockPos |
Template.getZeroPositionWithTransform(BlockPos p_189961_1_,
Mirror p_189961_2_,
Rotation p_189961_3_) |
static BlockPos |
Template.getZeroPositionWithTransform(BlockPos p_191157_0_,
Mirror p_191157_1_,
Rotation p_191157_2_,
int p_191157_3_,
int p_191157_4_) |
PlacementSettings |
PlacementSettings.setRotation(Rotation rotationIn) |
BlockPos |
Template.transformedSize(Rotation rotationIn) |
Modifier and Type | Method and Description |
---|---|
default BlockState |
IForgeBlock.rotate(BlockState state,
IWorld world,
BlockPos pos,
Rotation direction) |
default BlockState |
IForgeBlockState.rotate(IWorld world,
BlockPos pos,
Rotation direction) |